The statement linked list is not properly chained, which throws away some statements...
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Tue, 29 Mar 2016 12:29:49 +0000 (21:29 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Tue, 29 Mar 2016 12:29:49 +0000 (21:29 +0900)
convert.c

index 96fe561313638aeedf491e61d05dc3fae102105c..368b355130d1e9821ed5ee0cf195c588e8f95fe2 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -2708,6 +2708,7 @@ inolog("prepareParametersNoDesc\n");
        if (!pstmt)
            goto cleanup;
        last_pstmt->next = pstmt;
+       last_pstmt = pstmt;
    }
 
    SC_set_planname(stmt, plan_name);