⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conntest3.c

📁 b树实现源码,linux和unix下运行,速度快,极好用
💻 C
字号:
//Open connection twice using the same object without closing the connection inbetween.// Is should fail.#include<CSql.h>int main(){    Connection conn;    DbRetVal rv1 = conn.open("root", "manager");    if (rv1!= OK)    {       printf("Unable to open the database");       return 1;    }    DbRetVal rv2 = conn.open("root", "manager");    if(rv2==OK)    {      printf("Test failed");      return 2;    }    printf("Opening connection twice w/o closing inbetween passed return value %d \n",rv1);     return 0;} 

⌨️ 快捷键说明

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