2 close the connection and call commit, it should fail
3 close the connection and call rollback, it should fail.
11 AbsSqlConnection
*con
= createConnection();
12 rv
= con
->connect("root","manager");
17 printf("Connection opened\n");
19 rv
= con
->beginTrans();
26 rv
= con
->disconnect();
31 printf("Connection closed\n");
35 printf("Test script failed\n");
39 printf("Commit Failed After closing connection,\n");
43 printf("Test script failed\n");
47 printf("Rollback Failed After closing connection,\n");
49 printf("Test script pased\n");