*** empty log message ***
[csql.git] / test / sqlapi / Connect / conntest9.c
blob73e9545aafaa7a6528db1ef70fdb031391a6f9ae
1 // Pass correct username and incorrect password ,it should fail.
3 // Author : Jitendra Lenkla
5 #include"common.h"
7 int main()
9 DbRetVal rv = OK;
10 AbsSqlConnection *con = createConnection();
11 rv = con->connect("root","manager123");
12 if(rv==OK) {
13 printf("Test script failed with error%d\n",rv);
14 return 1;
16 printf("Connection is not opened dueto Incorrect password\n");
17 printf("Test script passed\n");
18 delete con;
19 return 0;