The 2dn argument of SC_set_prepared() is int(enum) not BOOL.
authorHiroshi Inoue <inoue@tpf.co.jp>
Thu, 20 Feb 2014 14:28:28 +0000 (23:28 +0900)
committerHiroshi Inoue <inoue@tpf.co.jp>
Thu, 20 Feb 2014 14:28:28 +0000 (23:28 +0900)
statement.c
statement.h

index 2f3df354adbed70352aca3202cffeb969a2a196d..603a77a9aa73c0d2a35fe5af17ef4d730d370176 100644 (file)
@@ -675,7 +675,7 @@ SC_set_current_col(StatementClass *stmt, int col)
 }
 
 void
-SC_set_prepared(StatementClass *stmt, BOOL prepared)
+SC_set_prepared(StatementClass *stmt, int prepared)
 {
    if (prepared == stmt->prepared)
        ;
index 0694369cecd91760db55c1c7f890f15209fb5ba7..a27969e80e1ce4c3cf33815b369fab17b9a3a71f 100644 (file)
@@ -474,7 +474,7 @@ void        SC_set_errormsg(StatementClass *self, const char *msg);
 void       SC_error_copy(StatementClass *self, const StatementClass *from, BOOL);
 void       SC_full_error_copy(StatementClass *self, const StatementClass *from, BOOL);
 void       SC_replace_error_with_res(StatementClass *self, int errnum, const char *msg, const QResultClass*, BOOL);
-void       SC_set_prepared(StatementClass *self, BOOL);
+void       SC_set_prepared(StatementClass *self, int);
 void       SC_set_planname(StatementClass *self, const char *plan_name);
 void       SC_set_rowset_start(StatementClass *self, SQLLEN, BOOL);
 void       SC_inc_rowset_start(StatementClass *self, SQLLEN);