1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +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:
drh
2002-08-02 10:36:09 +00:00
parent f1351b6759
commit e0e5ef1471
9 changed files with 19 additions and 52 deletions

View File

@@ -579,20 +579,6 @@ int sqliteOsFileSize(OsFile *id, int *pSize){
#endif
}
/*
** Return the process ID for the current process. This
** only works under Unix. Under windows, a constant is returned.
*/
int sqliteOsProcessId(void){
#if OS_UNIX
return getpid();
#endif
#if OS_WIN
return 1;
#endif
}
/*
** Change the status of the lock on the file "id" to be a readlock.
** If the file was write locked, then this reduces the lock to a read.