/ Check-in [a8906b52]
Login

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

Overview
Comment:Show version of zlib in use when running the shell tool in interactive mode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a8906b527a8f7a2cec88cc3b05c063a2785f0d1d141e148d954fc7440972a484
User & Date: mistachkin 2018-01-16 19:03:51
Context
2018-01-16
20:05
Move the ZLIB version announcement in the CLI out of the default banner and put it in the ".version" command. check-in: 231679d6 user: drh tags: trunk
19:03
Show version of zlib in use when running the shell tool in interactive mode. check-in: a8906b52 user: mistachkin tags: trunk
17:33
Change a cat in zipfile.c from (z_const Bytef*) to just (Bytef*). This allows the module to build with older versions of zlib. check-in: ac9af91d user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

8376
8377
8378
8379
8380
8381
8382



8383
8384
8385
8386
8387
8388
8389
      char *zHistory = 0;
      int nHistory;
      printf(
        "SQLite version %s %.19s\n" /*extra-version-info*/
        "Enter \".help\" for usage hints.\n",
        sqlite3_libversion(), sqlite3_sourceid()
      );



      if( warnInmemoryDb ){
        printf("Connected to a ");
        printBold("transient in-memory database");
        printf(".\nUse \".open FILENAME\" to reopen on a "
               "persistent database.\n");
      }
      zHome = find_home_dir(0);







>
>
>







8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
      char *zHistory = 0;
      int nHistory;
      printf(
        "SQLite version %s %.19s\n" /*extra-version-info*/
        "Enter \".help\" for usage hints.\n",
        sqlite3_libversion(), sqlite3_sourceid()
      );
#if SQLITE_HAVE_ZLIB
      printf("Using zlib version %s.\n", zlibVersion());
#endif
      if( warnInmemoryDb ){
        printf("Connected to a ");
        printBold("transient in-memory database");
        printf(".\nUse \".open FILENAME\" to reopen on a "
               "persistent database.\n");
      }
      zHome = find_home_dir(0);