1 /* close the connection and call commit, it should fail
3 * Author : Jitendra Lenka
11 AbsSqlConnection
*con
= createConnection();
12 rv
= con
->connect("root","manager");
14 printf("Connection opened\n");
15 rv
= con
->beginTrans();
17 rv
= con
->disconnect();
18 if(rv
!=OK
)return 3;printf("Connection closed\n");
21 printf("Test script failed\n");
24 printf("After closing the connection, commit failed\n");
25 printf("Test script pased\n");