1 //create table with the name made up of special characters other than underscores.It should fail
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;}
13 tabDef
.addField("f_1", typeInt
, 0, NULL
, true);
14 rv
=dbMgr
->createTable("t-1",tabDef
);
17 printf("Test Failed\n");
18 rv
=dbMgr
->dropTable("t-1");
21 printf("Test Passed\n");
26 //Table creating with name made up of any special character