Commit 84b35a7f authored by Michael Meskes's avatar Michael Meskes

Added missing "commit" in test case.

parent f22ddf70
......@@ -24,6 +24,7 @@ int main()
if (sqlca.sqlcode != 0) $rollback;
$insert into test (i, j) values (:i, 1);
$commit;
$select i from test where j=(select j from test);
printf("SELECT: %ld=%s\n", sqlca.sqlcode, sqlca.sqlerrm.sqlerrmc);
......@@ -41,7 +42,7 @@ int main()
else if (sqlca.sqlcode != 0) printf ("Error: %ld\n", sqlca.sqlcode);
if (risnull(CDECIMALTYPE, (char *)&j))
printf("%d\n", i);
printf("%d NULL\n", i);
else
{
int a;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment