From 65df5ed29054c800989d5e9db9037d47750dd334 Mon Sep 17 00:00:00 2001 From: Stephen Lombardo Date: Sat, 22 Jun 2013 14:43:38 -0400 Subject: [PATCH] reflect SQLCipher name on startup --- src/shell.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shell.c b/src/shell.c index 1be2871..faaec80 100644 --- a/src/shell.c +++ b/src/shell.c @@ -3200,7 +3200,13 @@ int main(int argc, char **argv){ char *zHistory = 0; int nHistory; printf( +/* BEGIN SQLCIPHER */ +#ifdef SQLITE_HAS_CODEC + "SQLCipher version %s %.19s\n" /*extra-version-info*/ +#else "SQLite version %s %.19s\n" /*extra-version-info*/ +#endif +/* END SQLCIPHER */ "Enter \".help\" for instructions\n" "Enter SQL statements terminated with a \";\"\n", sqlite3_libversion(), sqlite3_sourceid()