|
发表于 2020-1-11 17:54:36
|
显示全部楼层
上海市上海市
g_MySqlConnPool. setConnInfo (“127.0.0.1”, “root”, “root”, , 3306, “gbk”)g_MySqlConnPool. openConnPool (4000 )g_MySqlConnPool. openCheck ()计次循环首 (4000, i )启动线程 (&Thread_Main, i, )计次循环尾 ()调试输出 (“投递结束”)延迟 (1000 × 30 )g_MySqlConnPool. closeCheck ()g_MySqlConnPool. closeConnPool ()变量名 | 类 型 | 静态 | 数组 | 备 注 | local_Store | Class_MySql连接池_cha询结果 | | |
local_Store = g_MySqlConnPool. Query (“INSERT INTO `zc_test`.`test2` (`id`) VALUES ('” + 到文本 (i ) + “')”)如果真 (寻找文本 (local_Store. getState (), “操作成功”, , 假) = -1 )调试输出 (i, local_Store. getState ()) local_Store. close ()
- 我用的是最新版: https://gitee.com/kdabiao/easy_language_module/tree/master/
复制代码 首先感谢楼主分享源码, 用的模块源码里面的demo测试的, 上面添加4000条xx, 结果只有3500条左右, 已测试多次,都是这样, 希望楼主能更新一下,谢谢
|
|