|
|
e4ffad |
diff -up db-5.3.21/lang/sql/generated/sqlite3.c.broken db-5.3.21/lang/sql/generated/sqlite3.c
|
|
|
e4ffad |
--- db-5.3.21/lang/sql/generated/sqlite3.c.broken 2013-11-05 15:47:30.503756426 +0100
|
|
|
e4ffad |
+++ db-5.3.21/lang/sql/generated/sqlite3.c 2013-11-05 15:48:11.105888357 +0100
|
|
|
e4ffad |
@@ -8230,7 +8230,7 @@ SQLITE_PRIVATE int sqlite3VdbeAddOp4(Vdb
|
|
|
e4ffad |
SQLITE_PRIVATE int sqlite3VdbeAddOp4Int(Vdbe*,int,int,int,int,int);
|
|
|
e4ffad |
SQLITE_PRIVATE int sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp);
|
|
|
e4ffad |
SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe*, int addr, int P1);
|
|
|
e4ffad |
-SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe*, int addr, int P2);
|
|
|
e4ffad |
+SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe*, u32 addr, int P2);
|
|
|
e4ffad |
SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe*, int addr, int P3);
|
|
|
e4ffad |
SQLITE_PRIVATE void sqlite3VdbeChangeP5(Vdbe*, u8 P5);
|
|
|
e4ffad |
SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe*, int addr);
|
|
|
e4ffad |
@@ -48686,10 +48686,9 @@ SQLITE_PRIVATE void sqlite3VdbeChangeP1(
|
|
|
e4ffad |
** Change the value of the P2 operand for a specific instruction.
|
|
|
e4ffad |
** This routine is useful for setting a jump destination.
|
|
|
e4ffad |
*/
|
|
|
e4ffad |
-SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, int addr, int val){
|
|
|
e4ffad |
+SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, u32 addr, int val){
|
|
|
e4ffad |
assert( p!=0 );
|
|
|
e4ffad |
- assert( addr>=0 );
|
|
|
e4ffad |
- if( p->nOp>addr ){
|
|
|
e4ffad |
+ if( ((u32)p->nOp)>addr ){
|
|
|
e4ffad |
p->aOp[addr].p2 = val;
|
|
|
e4ffad |
}
|
|
|
e4ffad |
}
|