Skip to content

Commit c87a453

Browse files
committed
Fix issue #19
1 parent 42ac1ff commit c87a453

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl Copyright (C) 2019-2020 Ulrich Telle <[email protected]>
44
dnl
55
dnl This file is covered by the same licence as the entire SQLite3 Multiple Ciphers package.
66

7-
AC_INIT([sqlite3mc], [1.1.0], [[email protected]])
7+
AC_INIT([sqlite3mc], [1.1.1], [[email protected]])
88

99
dnl This is the version tested with, might work with earlier ones.
1010
AC_PREREQ([2.69])

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ The code was mainly developed under Windows, but was tested under Linux as well.
1212

1313
## Version history
1414

15+
* 1.1.1 - *December 2020*
16+
- Fixed a bug on removing encryption from an encrypted database
1517
* 1.1.0 - *December 2020*
1618
- Based on SQLite version 3.34.0
1719
- Added code for AES hardware support on x86 platforms

src/sqlite3mc_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#define SQLITE3MC_VERSION_MAJOR 1
1616
#define SQLITE3MC_VERSION_MINOR 1
17-
#define SQLITE3MC_VERSION_RELEASE 0
17+
#define SQLITE3MC_VERSION_RELEASE 1
1818
#define SQLITE3MC_VERSION_SUBRELEASE 0
19-
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.1.0"
19+
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.1.1"
2020

2121
#endif /* SQLITE3MC_VERSION_H_ */

src/sqlite3mc_vfs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ SQLITE_PRIVATE void sqlite3mcSetCodec(sqlite3* db, const char* zFileName, Codec*
252252
sqlite3mcCodecFree(pDbMain->codec);
253253
}
254254
pDbMain->codec = codec;
255-
mcReportCodecError(sqlite3mcGetBtShared(codec), SQLITE_OK);
255+
if (codec)
256+
{
257+
mcReportCodecError(sqlite3mcGetBtShared(codec), SQLITE_OK);
258+
}
256259
}
257260
else
258261
{

0 commit comments

Comments
 (0)