test cases for trie index
[csql.git] / test / dbapi / Connection / conntest6.c
blob85a95dfb020c85ce70ed5d23391f511ead1444fd
1 //abort a transaction without starting it
2 //it should fail
4 #include<CSql.h>
5 int main()
7 Connection conn;
8 DbRetVal rv=conn.open("root","manager");
9 if(rv!=OK) return 1;
10 rv=conn.rollback();
11 if(rv!=OK)
13 printf("Test script failed");
14 return 2;
16 printf("Test script passed return value %d\n",rv);
17 return 0;