aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-08-12 02:01:55 +0000
committerdrh <drh@noemail.net>2017-08-12 02:01:55 +0000
commit3f18e6d7a93d36ec7a3b29054f0bd7c1d85d64e9 (patch)
treed73701497fdc481f11cff7ead129fe820c28798c /src/sqliteInt.h
parent8abc80b2945b7133eee896092643d259410c048c (diff)
downloadsqlite-3f18e6d7a93d36ec7a3b29054f0bd7c1d85d64e9.tar.gz
sqlite-3f18e6d7a93d36ec7a3b29054f0bd7c1d85d64e9.zip
Remove the zBase field from the StrAccum object. Resulting code is slightly
smaller and faster. FossilOrigin-Name: 6e52fa5fd79988a433bae0152ceae036edab4bb18d2b48ed04c1f53f141728b0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 7222fcda9..522ab9651 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3227,11 +3227,10 @@ struct DbFixer {
*/
struct StrAccum {
sqlite3 *db; /* Optional database for lookaside. Can be NULL */
- char *zBase; /* A base allocation. Not from malloc. */
char *zText; /* The string collected so far */
- u32 nChar; /* Length of the string so far */
u32 nAlloc; /* Amount of space allocated in zText */
u32 mxAlloc; /* Maximum allowed allocation. 0 for no malloc usage */
+ u32 nChar; /* Length of the string so far */
u8 accError; /* STRACCUM_NOMEM or STRACCUM_TOOBIG */
u8 printfFlags; /* SQLITE_PRINTF flags below */
};