Addding test cases for connection and datatype module.
[csql.git] / test / system / config / conftest1.c
blobb5d804aee3cab887cfc847f9035641a4828607e2
1 #include<CSql.h>
2 int main()
4 Connection conn;
5 DbRetVal rv = OK;
7 os::setenv("CSQL_CONFIG_FILE", "/tmp/csql1.conf");
10 rv = conn.open("praba", "manager");
11 if (rv == OK) return 1;
13 rv = conn.close();
14 if (rv != OK) return 2;
15 return 0;