conntest2.c

来自「b树实现源码,linux和unix下运行,速度快,极好用」· C语言 代码 · 共 19 行

C
19
字号
// Make sure the server is not running#include<CSql.h>int main(){    Connection conn;    DbRetVal rv = conn.open("root", "manager");	if (rv == OK) {		printf("The server must be running. Stop the server and rerun the test\n");		printf("Test failed\n");		return 1;	}    if (rv != OK) {	    printf("The test passed, return value %d\n", rv);		return 0;	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?