SQLite的 cannot commit - no transaction is active报错

  最近测试SQLite时遇到了一个奇怪的问题,我在大批量循环插入记录时偶然会报告“cannot commit - no transaction is active”错误,屡次尝试仍然如此,代码以下:sql ... 数据库 for (int j=0;j<100000;j++)  {测试   rc = sqlite3_exec(db, "BEGIN TRANSACTION;", NULL, NULL
相关文章
相关标签/搜索