mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Change the record format to include an extra varint at the beginning to record the number of bytes in the header. (CVS 1478)
FossilOrigin-Name: 0c4d138807f367d75b3fb5b2dadf206df725659f
This commit is contained in:
@@ -80,14 +80,14 @@ struct Cursor {
|
||||
i64 iKey; /* Key for the NEW or OLD pseudo-table row */
|
||||
u8 *pIncrKey; /* Pointer to pKeyInfo->incrKey */
|
||||
KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */
|
||||
int nField; /* Number of fields in the header */
|
||||
|
||||
/* Cached information about the header for the data record that the
|
||||
** cursor is currently pointing to */
|
||||
Bool cacheValid; /* True if the cache is valid */
|
||||
int nField; /* Number of fields in the header */
|
||||
int nHeader; /* Number of bytes in the entire header */
|
||||
int payloadSize; /* Total number of bytes in the record */
|
||||
u64 *aType; /* Type values for all entries in the record */
|
||||
u32 *aType; /* Type values for all entries in the record */
|
||||
u32 *aOffset; /* Cached offsets to the start of each columns data */
|
||||
};
|
||||
typedef struct Cursor Cursor;
|
||||
|
||||
@@ -367,4 +367,3 @@ int sqlite3VdbeMemRealify(Mem*);
|
||||
#ifndef NDEBUG
|
||||
void sqlite3VdbeMemSanity(Mem*, u8);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user