mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Disable an assert that is sometimes generated spuriously.
FossilOrigin-Name: bd9ee0ea69181526cfc3cadac33a5ec5190112b0
This commit is contained in:
@@ -119,7 +119,15 @@ static unsigned __stdcall sqlite3ThreadProc(
|
||||
SQLiteThread *p = (SQLiteThread *)pArg;
|
||||
|
||||
assert( p!=0 );
|
||||
#if 0
|
||||
/*
|
||||
** This assert appears to trigger spuriously on certain
|
||||
** versions of Windows, possibly due to _beginthreadex()
|
||||
** and/or CreateThread() not fully setting their thread
|
||||
** ID parameter before starting the thread.
|
||||
*/
|
||||
assert( p->id==GetCurrentThreadId() );
|
||||
#endif
|
||||
assert( p->xTask!=0 );
|
||||
p->pResult = p->xTask(p->pIn);
|
||||
|
||||
|
Reference in New Issue
Block a user