diff options
author | drh <drh@noemail.net> | 2017-01-25 14:58:27 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-01-25 14:58:27 +0000 |
commit | 585ce1923c7c45bd0bf4da4ad957b6421785d1f0 (patch) | |
tree | c0d25427ded534238ea457702daf233c4728759b /src/vdbeaux.c | |
parent | 7888d14caa853827e60bac132ffcb0c6b25036c8 (diff) | |
download | sqlite-585ce1923c7c45bd0bf4da4ad957b6421785d1f0.tar.gz sqlite-585ce1923c7c45bd0bf4da4ad957b6421785d1f0.zip |
Experimental enhancement to automatically trim NULL values from the end of
records, for a reduced disk footprint. This change also involves increasing
the P5 operand from 8 to 16 bits.
FossilOrigin-Name: 118ded403b95050b74ae2b03919c43d614094a32
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r-- | src/vdbeaux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index 85d273f1e..cd423ed5b 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -783,7 +783,7 @@ void sqlite3VdbeChangeP2(Vdbe *p, u32 addr, int val){ void sqlite3VdbeChangeP3(Vdbe *p, u32 addr, int val){ sqlite3VdbeGetOp(p,addr)->p3 = val; } -void sqlite3VdbeChangeP5(Vdbe *p, u8 p5){ +void sqlite3VdbeChangeP5(Vdbe *p, u16 p5){ assert( p->nOp>0 || p->db->mallocFailed ); if( p->nOp>0 ) p->aOp[p->nOp-1].p5 = p5; } |