Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Remove unused variables from the command-line shell sources. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
753a402e90f3c9f675155ea96ee048db |
User & Date: | drh 2013-08-19 14:23:31.349 |
Context
2013-08-19
| ||
18:17 | Add some extra assert() statements to silence a few clang warnings. (check-in: 1c63e9515b user: dan tags: trunk) | |
14:23 | Remove unused variables from the command-line shell sources. (check-in: 753a402e90 user: drh tags: trunk) | |
14:19 | Fix a potential reference off the end of an array in the query planner. (check-in: f15591f802 user: drh tags: trunk) | |
Changes
Changes to src/shell.c.
︙ | ︙ | |||
3184 3185 3186 3187 3188 3189 3190 | /* Need to check for batch mode here to so we can avoid printing ** informational messages (like from process_sqliterc) before ** we do the actual processing of arguments later in a second pass. */ stdin_is_interactive = 0; }else if( strcmp(z,"-heap")==0 ){ #if defined(SQLITE_ENABLE_MEMSYS3) || defined(SQLITE_ENABLE_MEMSYS5) | < | 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 | /* Need to check for batch mode here to so we can avoid printing ** informational messages (like from process_sqliterc) before ** we do the actual processing of arguments later in a second pass. */ stdin_is_interactive = 0; }else if( strcmp(z,"-heap")==0 ){ #if defined(SQLITE_ENABLE_MEMSYS3) || defined(SQLITE_ENABLE_MEMSYS5) const char *zSize; sqlite3_int64 szHeap; zSize = cmdline_option_value(argc, argv, ++i); szHeap = integerValue(zSize); if( szHeap>0x7fff0000 ) szHeap = 0x7fff0000; sqlite3_config(SQLITE_CONFIG_HEAP, malloc((int)szHeap), (int)szHeap, 64); |
︙ | ︙ |