1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a race condition to do with very large index keys in shared-cache mode.

FossilOrigin-Name: fc157dd7f18c94b7ae5f155e1b4a5d7714b7da8c
This commit is contained in:
dan
2014-12-11 16:38:18 +00:00
parent 0a3520c0f4
commit 857536623a
7 changed files with 119 additions and 16 deletions

View File

@ -67,8 +67,8 @@ static void create_drop_index_1(int nMs){
launch_thread(&err, &threads, create_drop_index_thread, 0);
launch_thread(&err, &threads, create_drop_index_thread, 0);
launch_thread(&err, &threads, create_drop_index_thread, 0);
sqlite3_enable_shared_cache(0);
join_all_threads(&err, &threads);
sqlite3_enable_shared_cache(0);
print_and_free_err(&err);
}