*** empty log message ***
[csql.git] / test / system / Allocator / drop.c
blob88eec5785c06f62ebff93df42a21eb6e85f16150
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 ( dropTable(dbMgr, "t1") != 0 ) { ret = 3; }
12 conn.close();
13 return ret;