diff --git a/examples/api/api2.c b/examples/api/api2.c index 6d88ecf3eb..13bb6a39fe 100644 --- a/examples/api/api2.c +++ b/examples/api/api2.c @@ -83,7 +83,7 @@ int main (int argc, char** argv) } /* Prepare the statement. */ - if (isc_dsql_prepare(status, &trans, &double_budget, 0, prep_str, 1, NULL)) + if (isc_dsql_prepare(status, &trans, &double_budget, 0, prep_str, 3, NULL)) { ERREXIT(status, 1) } @@ -99,7 +99,7 @@ int main (int argc, char** argv) { printf("\nExecuting statement:\n%d:\t%s;\n", n, exec_str); - if (isc_dsql_execute_immediate(status, &DB, &trans, 0, exec_str, 1, NULL)) + if (isc_dsql_execute_immediate(status, &DB, &trans, 0, exec_str, 3, NULL)) { ERREXIT(status, 1) } @@ -110,7 +110,7 @@ int main (int argc, char** argv) */ printf("\nExecuting a prepared statement:\n\t%s;\n\n", prep_str); - if (isc_dsql_execute(status, &trans, &double_budget, 1, NULL)) + if (isc_dsql_execute(status, &trans, &double_budget, 3, NULL)) { ERREXIT(status, 1) }