1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Reduce the amount of heap required to store many schemas by storing each

column datatype appended to the column name, rather than as a separate
allocation.

FossilOrigin-Name: 842b21162713bb141b845b01c136457a31af4ab0
This commit is contained in:
drh
2016-02-29 15:53:11 +00:00
parent 743606c3d3
commit 94eaafa9ce
10 changed files with 52 additions and 37 deletions

View File

@@ -109,6 +109,14 @@ int sqlite3Strlen30(const char *z){
return 0x3fffffff & (int)strlen(z);
}
/*
** The string z[] is followed immediately by another string. Return
** a poiner to that other string.
*/
const char *sqlite3StrNext(const char *z){
return z + strlen(z) + 1;
}
/*
** Set the current error code to err_code and clear any prior error message.
*/