8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Make example runnable with dialect-3 employee database

This commit is contained in:
alexpeshkoff 2012-11-09 13:35:53 +00:00
parent d0a55a4569
commit f9297d19f1

View File

@ -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)
}