1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Remove an assert in the windows worker-thread logic that can fail in a race

condition.

FossilOrigin-Name: d7bfb96092a6b812af194f32b22283a0f6a7da96
This commit is contained in:
drh
2015-09-26 01:28:46 +00:00
parent 2ea31b1286
commit 17db155fed
3 changed files with 8 additions and 8 deletions

View File

@@ -188,7 +188,7 @@ int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){
assert( ppOut!=0 );
if( NEVER(p==0) ) return SQLITE_NOMEM;
if( p->xTask==0 ){
assert( p->id==GetCurrentThreadId() );
/* assert( p->id==GetCurrentThreadId() ); */
rc = WAIT_OBJECT_0;
assert( p->tid==0 );
}else{