mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-19 21:43:15 +03:00
Remove the restriction that a transaction cannot be started by one linuxthread
and continued by another. Leave in the documentation the warning about not carrying a database connection across fork() but do not test for it any more. Ticket #130. (CVS 701) FossilOrigin-Name: bdbdb866f2e76abd1f8f545adadc9a900ed0cd1a
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
** ROLLBACK
|
||||
** PRAGMA
|
||||
**
|
||||
** $Id: build.c,v 1.106 2002/07/18 00:34:11 drh Exp $
|
||||
** $Id: build.c,v 1.107 2002/08/02 10:36:09 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -1730,7 +1730,6 @@ void sqliteBeginTransaction(Parse *pParse, int onError){
|
||||
if( db->flags & SQLITE_InTrans ) return;
|
||||
sqliteBeginWriteOperation(pParse, 0);
|
||||
db->flags |= SQLITE_InTrans;
|
||||
db->pid = sqliteOsProcessId();
|
||||
db->onError = onError;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user