Browse Source

(Merge 3.3) Fix compilation of the _sqlite module if threads are disabled

pull/224/head
Victor Stinner 13 years ago
parent
commit
340f712b84
  1. 3
      Modules/_sqlite/connection.c

3
Modules/_sqlite/connection.c

@ -750,6 +750,9 @@ error:
#ifdef WITH_THREAD
PyGILState_Release(threadstate);
#endif
/* explicit return to avoid a compilation error if WITH_THREAD
is not defined */
return;
}
static void _pysqlite_drop_unused_statement_references(pysqlite_Connection* self)

Loading…
Cancel
Save