diff -Nacr a/convert.c b/convert.c *** a/convert.c 2016-01-10 22:25:14.000000000 +0900 --- b/convert.c 2016-03-29 10:33:37.000000000 +0900 *************** *** 2684,2689 **** --- 2684,2690 ---- if (!pstmt) goto cleanup; last_pstmt->next = pstmt; + last_pstmt = pstmt; } SC_set_planname(stmt, plan_name);