mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Added missing "commit" in test case.
This commit is contained in:
parent
f22ddf70be
commit
84b35a7f76
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user