Skip to content

Commit 4935a1e

Browse files
committed
updated to sqlite3 3.15.0
1 parent 681a4dd commit 4935a1e

File tree

6 files changed

+5
-4
lines changed

6 files changed

+5
-4
lines changed

deps/common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'variables': {
3-
'sqlite_version%':'3140100',
3+
'sqlite_version%':'3150000',
44
"toolset%":'',
55
},
66
'target_defaults': {
-2.36 MB
Binary file not shown.
2.38 MB
Binary file not shown.

deps/sqlite3.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
'SQLITE_ENABLE_RTREE',
9494
'SQLITE_DEFAULT_CACHE_SIZE=-16000',
9595
'SQLITE_DEFAULT_FOREIGN_KEYS=1',
96-
'SQLITE_USE_URI=1'
96+
'SQLITE_USE_URI=1',
97+
'SQLITE_MAX_SCHEMA_RETRY=0'
9798
],
9899
'export_dependent_settings': [
99100
'action_before_build',

src/objects/database/create-statement.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ NAN_METHOD(Database::CreateStatement) {
2626

2727
// Builds actual sqlite3_stmt handle.
2828
const void* tail;
29-
int status = sqlite3_prepare16(db->db_handle, *utf16, utf16.length() * sizeof (uint16_t) + 1, &stmt->st_handle, &tail);
29+
int status = sqlite3_prepare16_v2(db->db_handle, *utf16, utf16.length() * sizeof (uint16_t) + 1, &stmt->st_handle, &tail);
3030

3131
// Validates the newly created statement.
3232
if (status != SQLITE_OK) {

src/objects/database/create-transaction.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ NAN_METHOD(Database::CreateTransaction) {
6262
v8::String::Value utf16(source);
6363
const void* tail;
6464

65-
int status = sqlite3_prepare16(db->db_handle, *utf16, utf16.length() * sizeof (uint16_t) + 1, &(trans->handles[i]), &tail);
65+
int status = sqlite3_prepare16_v2(db->db_handle, *utf16, utf16.length() * sizeof (uint16_t) + 1, &(trans->handles[i]), &tail);
6666

6767
// Validates the newly created statement.
6868
if (status != SQLITE_OK) {

0 commit comments

Comments
 (0)