Skip to content

Commit d557e6b

Browse files
committed
Prepare release of version 1.9.1
- Based on SQLite version 3.47.1 - Remove need to specify AES hw compile time options
1 parent 1919339 commit d557e6b

File tree

13 files changed

+655
-527
lines changed

13 files changed

+655
-527
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.9.1] - 2024-11-26
11+
12+
### Changed
13+
14+
- Based on SQLite version 3.47.1
15+
- Remove need to specify AES hw compile time options
16+
1017
## [1.9.0] - 2024-10-22
1118

1219
### Changed
@@ -533,7 +540,8 @@ The following ciphers are supported:
533540
- AES 256 Bit CBC - SHA1/SHA256/SHA512 HMAC ([SQLCipher](https://www.zetetic.net/sqlcipher/), database versions 1, 2, 3, and 4)
534541
- RC4 - No HMAC ([System.Data.SQLite](http://system.data.sqlite.org))
535542

536-
[Unreleased]: ../../compare/v1.9.0...HEAD
543+
[Unreleased]: ../../compare/v1.9.1...HEAD
544+
[1.9.1]: ../../compare/v1.8.7...v1.9.1
537545
[1.9.0]: ../../compare/v1.8.7...v1.9.0
538546
[1.8.7]: ../../compare/v1.8.6...v1.8.7
539547
[1.8.6]: ../../compare/v1.8.5...v1.8.6

Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Process this file with automake to create Makefile.in for sqlite3mc library
22
#
3-
# Copyright (C) 2019-2023 Ulrich Telle <[email protected]>
3+
# Copyright (C) 2019-2024 Ulrich Telle <[email protected]>
44
#
55
# This file is covered by the same licence as the entire SQLite3 Multiple Ciphers package.
66

7-
if HOST_X86
8-
X86_FLAGS = -msse4.2 -maes
9-
else
7+
#if HOST_X86
8+
#X86_FLAGS = -msse4.2 -maes
9+
#else
1010
X86_FLAGS =
11-
endif
11+
#endif
1212

1313
if HOST_ARM
1414
#ARM_FLAGS = -march=native

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl Copyright (C) 2019-2024 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.9.0], [[email protected]])
7+
AC_INIT([sqlite3mc], [1.9.1], [[email protected]])
88

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

premake5.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ project "sqlite3mc_lib"
3939
end
4040
else
4141
toolset("gcc")
42-
buildoptions { "-msse4.2", "-maes" }
42+
-- buildoptions { "-msse4.2", "-maes" }
4343
-- buildoptions { "-march=native" }
4444
end
4545
makesettings { "include config.gcc" }
@@ -135,7 +135,7 @@ project "sqlite3mc_dll"
135135
end
136136
else
137137
toolset("gcc")
138-
buildoptions { "-msse4.2", "-maes" }
138+
-- buildoptions { "-msse4.2", "-maes" }
139139
-- buildoptions { "-march=native" }
140140
end
141141
makesettings { "include config.gcc" }
@@ -227,7 +227,7 @@ project "sqlite3mc_shell"
227227
end
228228
else
229229
toolset("gcc")
230-
buildoptions { "-msse4.2", "-maes" }
230+
-- buildoptions { "-msse4.2", "-maes" }
231231
-- buildoptions { "-march=native" }
232232
end
233233
makesettings { "include config.gcc" }
@@ -286,7 +286,7 @@ project "sqlite3mc_libicu"
286286
end
287287
else
288288
toolset("gcc")
289-
buildoptions { "-msse4.2", "-maes" }
289+
-- buildoptions { "-msse4.2", "-maes" }
290290
-- buildoptions { "-march=native" }
291291
end
292292
makesettings { "include config.gcc" }
@@ -383,7 +383,7 @@ project "sqlite3mc_dllicu"
383383
end
384384
else
385385
toolset("gcc")
386-
buildoptions { "-msse4.2", "-maes" }
386+
-- buildoptions { "-msse4.2", "-maes" }
387387
-- buildoptions { "-march=native" }
388388
end
389389
makesettings { "include config.gcc" }
@@ -488,7 +488,7 @@ project "sqlite3mc_shellicu"
488488
end
489489
else
490490
toolset("gcc")
491-
buildoptions { "-msse4.2", "-maes" }
491+
-- buildoptions { "-msse4.2", "-maes" }
492492
-- buildoptions { "-march=native" }
493493
end
494494
makesettings { "include config.gcc" }

readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ The code was mainly developed under Windows, but was tested under Linux as well.
1010

1111
## Version information
1212

13-
* 1.9.0 - *October 2024*
14-
- Based on SQLite version 3.47.0
15-
- Changed signature of cipher scheme method `GenerateKey` (affects only developers of dynamic cipher schemes)
16-
- Using differing KDF and HMAC algorithms resulted in databases incompatible with the original SQLCipher library. Setting the parameter `hmac_algorithm_compat` to 0 restores the (incompatible) behaviour.
13+
* 1.9.1 - *November 2024*
14+
- Based on SQLite version 3.47.1
15+
- Remove need to specify AES hw compile time options
1716

1817
For further version information please consult the [CHANGELOG](CHANGELOG.md).
1918

src/rekeyvacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
** Change 4: Call sqlite3mcBtreeSetPageSize instead of sqlite3BtreeSetPageSize for main database
2828
** (sqlite3mcBtreeSetPageSize allows to reduce the number of reserved bytes)
2929
**
30-
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.47.0 amalgamation.
30+
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.47.1 amalgamation.
3131
*/
3232
SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3mcRunVacuumForRekey(
3333
char **pzErrMsg, /* Write error message here */

src/series.c

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -659,31 +659,37 @@ static int seriesBestIndex(
659659
continue;
660660
}
661661
if( pConstraint->iColumn<SERIES_COLUMN_START ){
662-
if( pConstraint->iColumn==SERIES_COLUMN_VALUE ){
662+
if( pConstraint->iColumn==SERIES_COLUMN_VALUE && pConstraint->usable ){
663663
switch( op ){
664664
case SQLITE_INDEX_CONSTRAINT_EQ:
665665
case SQLITE_INDEX_CONSTRAINT_IS: {
666666
idxNum |= 0x0080;
667667
idxNum &= ~0x3300;
668668
aIdx[5] = i;
669669
aIdx[6] = -1;
670+
#ifndef ZERO_ARGUMENT_GENERATE_SERIES
670671
bStartSeen = 1;
672+
#endif
671673
break;
672674
}
673675
case SQLITE_INDEX_CONSTRAINT_GE: {
674676
if( idxNum & 0x0080 ) break;
675677
idxNum |= 0x0100;
676678
idxNum &= ~0x0200;
677679
aIdx[5] = i;
680+
#ifndef ZERO_ARGUMENT_GENERATE_SERIES
678681
bStartSeen = 1;
682+
#endif
679683
break;
680684
}
681685
case SQLITE_INDEX_CONSTRAINT_GT: {
682686
if( idxNum & 0x0080 ) break;
683687
idxNum |= 0x0200;
684688
idxNum &= ~0x0100;
685689
aIdx[5] = i;
690+
#ifndef ZERO_ARGUMENT_GENERATE_SERIES
686691
bStartSeen = 1;
692+
#endif
687693
break;
688694
}
689695
case SQLITE_INDEX_CONSTRAINT_LE: {
@@ -751,7 +757,7 @@ static int seriesBestIndex(
751757
return SQLITE_CONSTRAINT;
752758
}
753759
if( (idxNum & 0x03)==0x03 ){
754-
/* Both start= and stop= boundaries are available. This is the
760+
/* Both start= and stop= boundaries are available. This is the
755761
** the preferred case */
756762
pIdxInfo->estimatedCost = (double)(2 - ((idxNum&4)!=0));
757763
pIdxInfo->estimatedRows = 1000;
@@ -780,7 +786,7 @@ static int seriesBestIndex(
780786
}
781787

782788
/*
783-
** This following structure defines all the methods for the
789+
** This following structure defines all the methods for the
784790
** generate_series virtual table.
785791
*/
786792
static sqlite3_module seriesModule = {
@@ -817,8 +823,8 @@ static sqlite3_module seriesModule = {
817823
__declspec(dllexport)
818824
#endif
819825
int sqlite3_series_init(
820-
sqlite3 *db,
821-
char **pzErrMsg,
826+
sqlite3 *db,
827+
char **pzErrMsg,
822828
const sqlite3_api_routines *pApi
823829
){
824830
int rc = SQLITE_OK;

0 commit comments

Comments
 (0)