2009-03-06 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
* pacified one optimization warning
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-03-06 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
|
||||
* pacified one optimization warning
|
||||
|
||||
2009-03-05 21:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/common/hbwince.c
|
||||
! added missing return statement
|
||||
|
||||
@@ -38770,6 +38770,13 @@ SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, int addr, int val){
|
||||
}
|
||||
}
|
||||
|
||||
SQLITE_PRIVATE void sqlite3VdbeChangeP2X(Vdbe *p, int addr, int val){
|
||||
assert( p==0 || p->magic==VDBE_MAGIC_INIT );
|
||||
if( p && addr>=0 && p->aOp ){
|
||||
p->aOp[addr].p2 = val;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
** Change the value of the P3 operand for a specific instruction.
|
||||
*/
|
||||
@@ -47242,7 +47249,7 @@ SQLITE_API int sqlite3_blob_open(
|
||||
sqlite3VdbeMakeReady(v, 1, 1, 1, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sqlite3BtreeLeaveAll(db);
|
||||
rc = sqlite3SafetyOff(db);
|
||||
if( rc!=SQLITE_OK || db->mallocFailed ){
|
||||
@@ -72449,7 +72456,7 @@ SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(
|
||||
Bitmask b = pTabItem->colUsed;
|
||||
int n = 0;
|
||||
for(; b; b=b>>1, n++){}
|
||||
sqlite3VdbeChangeP2(v, sqlite3VdbeCurrentAddr(v)-2, n);
|
||||
sqlite3VdbeChangeP2X(v, sqlite3VdbeCurrentAddr(v)-2, n);
|
||||
assert( n<=pTab->nCol );
|
||||
}
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user