Skip to content

Commit 41ed516

Browse files
committed
Prepare release of version 1.4.6
- Based on SQLite version 3.39.1
1 parent f3e2938 commit 41ed516

File tree

11 files changed

+268
-133
lines changed

11 files changed

+268
-133
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-2022 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.4.5], [[email protected]])
7+
AC_INIT([sqlite3mc], [1.4.6], [[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
@@ -10,6 +10,8 @@ The code was mainly developed under Windows, but was tested under Linux as well.
1010

1111
## Version history
1212

13+
* 1.4.6 - *July 2022*
14+
- Based on SQLite version 3.39.1
1315
* 1.4.5 - *July 2022*
1416
- Based on SQLite version 3.39.0
1517
- Enabled preupdate hooks in build files

src/regexp.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){
299299
}
300300
case RE_OP_CC_EXC: {
301301
if( c==0 ) break;
302-
/* fall-through */
302+
/* fall-through */ goto re_op_cc_inc;
303303
}
304-
case RE_OP_CC_INC: {
304+
case RE_OP_CC_INC: re_op_cc_inc: {
305305
int j = 1;
306306
int n = pRe->aArg[x];
307307
int hit = 0;
@@ -685,7 +685,7 @@ static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){
685685
pRe->zInit[j++] = (unsigned char)(0xc0 | (x>>6));
686686
pRe->zInit[j++] = 0x80 | (x&0x3f);
687687
}else if( x<=0xffff ){
688-
pRe->zInit[j++] = (unsigned char)(0xd0 | (x>>12));
688+
pRe->zInit[j++] = (unsigned char)(0xe0 | (x>>12));
689689
pRe->zInit[j++] = 0x80 | ((x>>6)&0x3f);
690690
pRe->zInit[j++] = 0x80 | (x&0x3f);
691691
}else{
@@ -759,15 +759,15 @@ int sqlite3_regexp_init(
759759
int rc = SQLITE_OK;
760760
SQLITE_EXTENSION_INIT2(pApi);
761761
(void)pzErrMsg; /* Unused */
762-
rc = sqlite3_create_function(db, "regexp", 2,
763-
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
764-
0, re_sql_func, 0, 0);
762+
rc = sqlite3_create_function(db, "regexp", 2,
763+
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
764+
0, re_sql_func, 0, 0);
765765
if( rc==SQLITE_OK ){
766766
/* The regexpi(PATTERN,STRING) function is a case-insensitive version
767767
** of regexp(PATTERN,STRING). */
768768
rc = sqlite3_create_function(db, "regexpi", 2,
769-
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
770-
(void*)db, re_sql_func, 0, 0);
769+
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
770+
(void*)db, re_sql_func, 0, 0);
771771
}
772772
return rc;
773773
}

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.39.0 amalgamation.
30+
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.39.1 amalgamation.
3131
*/
3232
SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3mcRunVacuumForRekey(
3333
char **pzErrMsg, /* Write error message here */

src/shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4417,7 +4417,7 @@ static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){
44174417
pRe->zInit[j++] = (unsigned char)(0xc0 | (x>>6));
44184418
pRe->zInit[j++] = 0x80 | (x&0x3f);
44194419
}else if( x<=0xffff ){
4420-
pRe->zInit[j++] = (unsigned char)(0xd0 | (x>>12));
4420+
pRe->zInit[j++] = (unsigned char)(0xe0 | (x>>12));
44214421
pRe->zInit[j++] = 0x80 | ((x>>6)&0x3f);
44224422
pRe->zInit[j++] = 0x80 | (x&0x3f);
44234423
}else{

0 commit comments

Comments
 (0)