Added missing "commit" in test case.

This commit is contained in:
Michael Meskes 2003-10-12 15:19:46 +00:00
parent f22ddf70be
commit 84b35a7f76

View File

@ -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;