mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix the locking protocol. (CVS 280)
FossilOrigin-Name: 484b82d8a1c84f3d9725a509de93276b9fa9b294
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
** But other routines are also provided to help in building up
|
||||
** a program instruction by instruction.
|
||||
**
|
||||
** $Id: vdbe.c,v 1.81 2001/10/08 13:22:33 drh Exp $
|
||||
** $Id: vdbe.c,v 1.82 2001/10/09 04:19:47 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -2368,9 +2368,9 @@ case OP_NewRecno: {
|
||||
v = db->nextRowid;
|
||||
do{
|
||||
if( cnt>5 ){
|
||||
v = sqliteRandomInteger(db);
|
||||
v = sqliteRandomInteger();
|
||||
}else{
|
||||
v += sqliteRandomByte(db) + 1;
|
||||
v += sqliteRandomByte() + 1;
|
||||
}
|
||||
if( v==0 ) continue;
|
||||
x = bigEndian(v);
|
||||
|
Reference in New Issue
Block a user