/ Check-in [0b69aa7e]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change the default command-line shell history depth to 2000 lines.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0b69aa7e37495f15c3fcc36969b650262b5aa5500fb40800de9a5c56a03f309d
User & Date: drh 2017-07-18 14:41:44
Context
2017-07-18
17:13
Avoid creating an automatic index on the RHS of a LEFT JOIN to optimize an IS term. Fix for [ce68383b]. check-in: d2f0b2e8 user: dan tags: trunk
14:41
Change the default command-line shell history depth to 2000 lines. check-in: 0b69aa7e user: drh tags: trunk
2017-07-17
18:45
Merge all changes from branch-3.20. Improvements to the fts5() extension interface. Work around a gcc/valgrind bug in the sqlite3_value_pointer() interface. check-in: e0aca7d2 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  8371   8371   #if HAVE_READLINE || HAVE_EDITLINE
  8372   8372         rl_attempted_completion_function = readline_completion;
  8373   8373   #elif HAVE_LINENOISE
  8374   8374         linenoiseSetCompletionCallback(linenoise_completion);
  8375   8375   #endif
  8376   8376         rc = process_input(&data, 0);
  8377   8377         if( zHistory ){
  8378         -        shell_stifle_history(100);
         8378  +        shell_stifle_history(2000);
  8379   8379           shell_write_history(zHistory);
  8380   8380           free(zHistory);
  8381   8381         }
  8382   8382       }else{
  8383   8383         rc = process_input(&data, stdin);
  8384   8384       }
  8385   8385     }