1 //print values of the config file
7 char *root
= os::getenv("PWD");
9 char *s
= root
+ (strlen(root
) - 9);
10 if (strcmp(s
, "csql/test") == 0)
11 sprintf(conf
, "%s/system/config/csql.conf", root
);
13 sprintf(conf
, "%s/csql.conf", root
);
14 os::setenv("CSQL_CONFIG_FILE", conf
);
15 rv
= conn
.open("root", "manager");
16 if (rv
!= OK
) return 1;