*** empty log message ***
[csql.git] / test / adapter / Connect / conntest7.c
blobc865ab9c42f2a6c92d4d79fcc0f51d12aecb558a
1 //Connect with correct user name and password, it should pass.
3 #include"common.h"
4 int main()
6 DbRetVal rv = OK;
7 AbsSqlConnection *con = createConnection();
8 rv = con->connect("root","manager");
9 if(rv!=OK)
11 printf("Test script failed with error%d\n",rv);
12 return 1;
14 printf("Connection opened with correct user name and password\n");
15 printf("Test script passed\n");
16 delete con;
17 return 0;