execNext -> step
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#define exec_statement_no_result() \
|
||||
printf("executing SQL statement:\n%s\n", sqlite3_sql(st->st));\
|
||||
try_void(tsqlite_statement_execNext(st));\
|
||||
try_void(tsqlite_statement_step(st));\
|
||||
|
||||
Result(void) test_connection(){
|
||||
Deferral(8);
|
||||
@@ -38,7 +38,7 @@ Result(void) test_connection(){
|
||||
try_void(tsqlite_statement_bind_null(st, "$nul"));
|
||||
printf("executing SQL statement:\n%s\n", sqlite3_sql(st->st));
|
||||
while(true) {
|
||||
try(bool has_result, i, tsqlite_statement_execNext(st));
|
||||
try(bool has_result, i, tsqlite_statement_step(st));
|
||||
if(!has_result)
|
||||
break;
|
||||
i32 column_count = sqlite3_column_count(st->st);
|
||||
|
||||
Reference in New Issue
Block a user