core reorg
[csql.git] / test / system / trans / create.c
blob2fa248b9d6b313f460705797310ce813e94261d2
2 #include "common.h"
3 int main()
5 Connection conn;
6 DbRetVal rv = conn.open("root", "manager");
7 if (rv != OK) return 1;
8 DatabaseManager *dbMgr = conn.getDatabaseManager();
9 if (dbMgr == NULL) { printf("Auth failed\n"); return 2;}
10 int ret =0;
11 if ( createTable(dbMgr, "t1") != 0 ) { ret = 3; }
13 conn.close();
14 return ret;