/ Check-in [a0e18aea]
Login

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

Overview
Comment:Add missing #ifdef.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sqlar-shell-support
Files: files | file ages | folders
SHA3-256: a0e18aea0950f5ebdf4112f826ff64d24e8660b341031132dcb65bb15579ef1c
User & Date: mistachkin 2018-01-05 00:53:03
Context
2018-01-05
01:00
Enhance the 'zlib' build target for MSVC. check-in: 0bc3b76e user: mistachkin tags: sqlar-shell-support
00:53
Add missing #ifdef. check-in: a0e18aea user: mistachkin tags: sqlar-shell-support
2018-01-04
23:49
In the 'fileio' extension code for Win32, use the FILE_FLAG_BACKUP_SEMANTICS flag when setting the file times, just in case the file is actually a directory. check-in: 4f344406 user: mistachkin tags: sqlar-shell-support
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

  4963   4963           raw_printf(stderr, "cannot open file: %s (%s)\n", 
  4964   4964               cmd.zFile, sqlite3_errmsg(db)
  4965   4965           );
  4966   4966           sqlite3_close(db);
  4967   4967           return rc;
  4968   4968         }
  4969   4969         sqlite3_fileio_init(db, 0, 0);
         4970  +#ifdef SQLITE_HAVE_ZLIB
  4970   4971         sqlite3_sqlar_init(db, 0, 0);
         4972  +#endif
  4971   4973       }else{
  4972   4974         db = pState->db;
  4973   4975       }
  4974   4976   
  4975   4977       switch( cmd.eCmd ){
  4976   4978         case AR_CMD_CREATE:
  4977   4979           rc = arCreateCommand(pState, db, &cmd);