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