@depup/better-sqlite3 12.8.0-depup.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/binding.gyp +38 -0
- package/deps/common.gypi +68 -0
- package/deps/copy.js +31 -0
- package/deps/defines.gypi +41 -0
- package/deps/download.sh +122 -0
- package/deps/patches/1208.patch +15 -0
- package/deps/sqlite3/sqlite3.c +265994 -0
- package/deps/sqlite3/sqlite3.h +13968 -0
- package/deps/sqlite3/sqlite3ext.h +730 -0
- package/deps/sqlite3.gyp +80 -0
- package/deps/test_extension.c +21 -0
- package/lib/database.js +90 -0
- package/lib/index.js +3 -0
- package/lib/methods/aggregate.js +43 -0
- package/lib/methods/backup.js +67 -0
- package/lib/methods/function.js +31 -0
- package/lib/methods/inspect.js +7 -0
- package/lib/methods/pragma.js +12 -0
- package/lib/methods/serialize.js +16 -0
- package/lib/methods/table.js +189 -0
- package/lib/methods/transaction.js +78 -0
- package/lib/methods/wrappers.js +54 -0
- package/lib/sqlite-error.js +20 -0
- package/lib/util.js +12 -0
- package/package.json +75 -0
- package/src/addon.cpp +47 -0
- package/src/better_sqlite3.cpp +74 -0
- package/src/objects/backup.cpp +120 -0
- package/src/objects/backup.hpp +36 -0
- package/src/objects/database.cpp +417 -0
- package/src/objects/database.hpp +103 -0
- package/src/objects/statement-iterator.cpp +113 -0
- package/src/objects/statement-iterator.hpp +50 -0
- package/src/objects/statement.cpp +383 -0
- package/src/objects/statement.hpp +58 -0
- package/src/util/bind-map.cpp +73 -0
- package/src/util/binder.cpp +193 -0
- package/src/util/constants.cpp +172 -0
- package/src/util/custom-aggregate.cpp +121 -0
- package/src/util/custom-function.cpp +59 -0
- package/src/util/custom-table.cpp +409 -0
- package/src/util/data-converter.cpp +17 -0
- package/src/util/data.cpp +194 -0
- package/src/util/helpers.cpp +109 -0
- package/src/util/macros.cpp +83 -0
- package/src/util/query-macros.cpp +71 -0
- package/src/util/row-builder.cpp +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Joshua Wise
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @depup/better-sqlite3
|
|
2
|
+
|
|
3
|
+
> Dependency-bumped version of [better-sqlite3](https://www.npmjs.com/package/better-sqlite3)
|
|
4
|
+
|
|
5
|
+
Generated by [DepUp](https://github.com/depup/npm) -- all production
|
|
6
|
+
dependencies bumped to latest versions.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @depup/better-sqlite3
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|-------|-------|
|
|
16
|
+
| Original | [better-sqlite3](https://www.npmjs.com/package/better-sqlite3) @ 12.8.0 |
|
|
17
|
+
| Processed | 2026-03-16 |
|
|
18
|
+
| Smoke test | passed |
|
|
19
|
+
| Deps updated | 1 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| prebuild-install | ^7.1.1 | ^7.1.3 |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/better-sqlite3
|
|
30
|
+
|
|
31
|
+
License inherited from the original package.
|
package/binding.gyp
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ===
|
|
2
|
+
# This is the main GYP file, which builds better-sqlite3 with SQLite itself.
|
|
3
|
+
# ===
|
|
4
|
+
|
|
5
|
+
{
|
|
6
|
+
'includes': ['deps/common.gypi'],
|
|
7
|
+
'targets': [
|
|
8
|
+
{
|
|
9
|
+
'target_name': 'better_sqlite3',
|
|
10
|
+
'dependencies': ['deps/sqlite3.gyp:sqlite3'],
|
|
11
|
+
'sources': ['src/better_sqlite3.cpp'],
|
|
12
|
+
'cflags_cc': ['-std=c++20'],
|
|
13
|
+
'xcode_settings': {
|
|
14
|
+
'OTHER_CPLUSPLUSFLAGS': ['-std=c++20', '-stdlib=libc++'],
|
|
15
|
+
},
|
|
16
|
+
'msvs_settings': {
|
|
17
|
+
'VCCLCompilerTool': {
|
|
18
|
+
'AdditionalOptions': [
|
|
19
|
+
'/std:c++20',
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
'conditions': [
|
|
24
|
+
['OS=="linux"', {
|
|
25
|
+
'ldflags': [
|
|
26
|
+
'-Wl,-Bsymbolic',
|
|
27
|
+
'-Wl,--exclude-libs,ALL',
|
|
28
|
+
],
|
|
29
|
+
}],
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
'target_name': 'test_extension',
|
|
34
|
+
'dependencies': ['deps/sqlite3.gyp:sqlite3'],
|
|
35
|
+
'conditions': [['sqlite3 == ""', { 'sources': ['deps/test_extension.c'] }]],
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
}
|
package/deps/common.gypi
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# ===
|
|
2
|
+
# This configuration defines the differences between Release and Debug builds.
|
|
3
|
+
# Some miscellaneous Windows settings are also defined here.
|
|
4
|
+
# ===
|
|
5
|
+
|
|
6
|
+
{
|
|
7
|
+
'variables': { 'sqlite3%': '' },
|
|
8
|
+
'target_defaults': {
|
|
9
|
+
'default_configuration': 'Release',
|
|
10
|
+
'msvs_settings': {
|
|
11
|
+
'VCCLCompilerTool': {
|
|
12
|
+
'ExceptionHandling': 1,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
'conditions': [
|
|
16
|
+
['OS == "win"', {
|
|
17
|
+
'defines': ['WIN32'],
|
|
18
|
+
}],
|
|
19
|
+
],
|
|
20
|
+
'configurations': {
|
|
21
|
+
'Debug': {
|
|
22
|
+
'defines!': [
|
|
23
|
+
'NDEBUG',
|
|
24
|
+
],
|
|
25
|
+
'defines': [
|
|
26
|
+
'DEBUG',
|
|
27
|
+
'_DEBUG',
|
|
28
|
+
'SQLITE_DEBUG',
|
|
29
|
+
'SQLITE_MEMDEBUG',
|
|
30
|
+
'SQLITE_ENABLE_API_ARMOR',
|
|
31
|
+
'SQLITE_WIN32_MALLOC_VALIDATE',
|
|
32
|
+
],
|
|
33
|
+
'cflags': [
|
|
34
|
+
'-O0',
|
|
35
|
+
],
|
|
36
|
+
'xcode_settings': {
|
|
37
|
+
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
38
|
+
'GCC_OPTIMIZATION_LEVEL': '0',
|
|
39
|
+
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
|
|
40
|
+
},
|
|
41
|
+
'msvs_settings': {
|
|
42
|
+
'VCLinkerTool': {
|
|
43
|
+
'GenerateDebugInformation': 'true',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
'Release': {
|
|
48
|
+
'defines!': [
|
|
49
|
+
'DEBUG',
|
|
50
|
+
'_DEBUG',
|
|
51
|
+
],
|
|
52
|
+
'defines': [
|
|
53
|
+
'NDEBUG',
|
|
54
|
+
],
|
|
55
|
+
'cflags': [
|
|
56
|
+
'-O3',
|
|
57
|
+
],
|
|
58
|
+
'xcode_settings': {
|
|
59
|
+
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
60
|
+
'GCC_OPTIMIZATION_LEVEL': '3',
|
|
61
|
+
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
|
|
62
|
+
'DEAD_CODE_STRIPPING': 'YES',
|
|
63
|
+
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
}
|
package/deps/copy.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
|
|
5
|
+
const dest = process.argv[2];
|
|
6
|
+
const source = path.resolve(path.sep, process.argv[3] || path.join(__dirname, 'sqlite3'));
|
|
7
|
+
const files = [
|
|
8
|
+
{ filename: 'sqlite3.c', optional: false },
|
|
9
|
+
{ filename: 'sqlite3.h', optional: false },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
if (process.argv[3]) {
|
|
13
|
+
// Support "_HAVE_SQLITE_CONFIG_H" in custom builds.
|
|
14
|
+
files.push({ filename: 'config.h', optional: true });
|
|
15
|
+
} else {
|
|
16
|
+
// Required for some tests.
|
|
17
|
+
files.push({ filename: 'sqlite3ext.h', optional: false });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
for (const { filename, optional } of files) {
|
|
21
|
+
const sourceFilepath = path.join(source, filename);
|
|
22
|
+
const destFilepath = path.join(dest, filename);
|
|
23
|
+
|
|
24
|
+
if (optional && !fs.existsSync(sourceFilepath)) {
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
fs.accessSync(sourceFilepath);
|
|
29
|
+
fs.mkdirSync(path.dirname(destFilepath), { recursive: true });
|
|
30
|
+
fs.copyFileSync(sourceFilepath, destFilepath);
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# THIS FILE IS AUTOMATICALLY GENERATED BY deps/download.sh (DO NOT EDIT)
|
|
2
|
+
|
|
3
|
+
{
|
|
4
|
+
'defines': [
|
|
5
|
+
'HAVE_INT16_T=1',
|
|
6
|
+
'HAVE_INT32_T=1',
|
|
7
|
+
'HAVE_INT8_T=1',
|
|
8
|
+
'HAVE_STDINT_H=1',
|
|
9
|
+
'HAVE_UINT16_T=1',
|
|
10
|
+
'HAVE_UINT32_T=1',
|
|
11
|
+
'HAVE_UINT8_T=1',
|
|
12
|
+
'HAVE_USLEEP=1',
|
|
13
|
+
'SQLITE_DEFAULT_CACHE_SIZE=-16000',
|
|
14
|
+
'SQLITE_DEFAULT_FOREIGN_KEYS=1',
|
|
15
|
+
'SQLITE_DEFAULT_MEMSTATUS=0',
|
|
16
|
+
'SQLITE_DEFAULT_WAL_SYNCHRONOUS=1',
|
|
17
|
+
'SQLITE_DQS=0',
|
|
18
|
+
'SQLITE_ENABLE_COLUMN_METADATA',
|
|
19
|
+
'SQLITE_ENABLE_DBSTAT_VTAB',
|
|
20
|
+
'SQLITE_ENABLE_DESERIALIZE',
|
|
21
|
+
'SQLITE_ENABLE_FTS3',
|
|
22
|
+
'SQLITE_ENABLE_FTS3_PARENTHESIS',
|
|
23
|
+
'SQLITE_ENABLE_FTS4',
|
|
24
|
+
'SQLITE_ENABLE_FTS5',
|
|
25
|
+
'SQLITE_ENABLE_GEOPOLY',
|
|
26
|
+
'SQLITE_ENABLE_JSON1',
|
|
27
|
+
'SQLITE_ENABLE_MATH_FUNCTIONS',
|
|
28
|
+
'SQLITE_ENABLE_RTREE',
|
|
29
|
+
'SQLITE_ENABLE_STAT4',
|
|
30
|
+
'SQLITE_ENABLE_UPDATE_DELETE_LIMIT',
|
|
31
|
+
'SQLITE_LIKE_DOESNT_MATCH_BLOBS',
|
|
32
|
+
'SQLITE_OMIT_DEPRECATED',
|
|
33
|
+
'SQLITE_OMIT_PROGRESS_CALLBACK',
|
|
34
|
+
'SQLITE_OMIT_SHARED_CACHE',
|
|
35
|
+
'SQLITE_OMIT_TCL_VARIABLE',
|
|
36
|
+
'SQLITE_SOUNDEX',
|
|
37
|
+
'SQLITE_THREADSAFE=2',
|
|
38
|
+
'SQLITE_TRACE_SIZE_LIMIT=32',
|
|
39
|
+
'SQLITE_USE_URI=0',
|
|
40
|
+
],
|
|
41
|
+
}
|
package/deps/download.sh
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# ===
|
|
4
|
+
# This script defines and generates the bundled SQLite unit (sqlite3.c).
|
|
5
|
+
#
|
|
6
|
+
# The following steps are taken:
|
|
7
|
+
# 1. populate the shell environment with the defined compile-time options.
|
|
8
|
+
# 2. download and extract the SQLite source code into a temporary directory.
|
|
9
|
+
# 3. run "sh configure" and "make sqlite3.c" within the source directory.
|
|
10
|
+
# 4. copy the generated amalgamation into the output directory (./sqlite3).
|
|
11
|
+
# 5. export the defined compile-time options to a gyp file (./defines.gypi).
|
|
12
|
+
# 6. update the docs (../docs/compilation.md) with details of this distribution.
|
|
13
|
+
#
|
|
14
|
+
# When a user builds better-sqlite3, the following steps are taken:
|
|
15
|
+
# 1. node-gyp loads the previously exported compile-time options (defines.gypi).
|
|
16
|
+
# 2. the copy.js script copies the bundled amalgamation into the build folder.
|
|
17
|
+
# 3. node-gyp compiles the copied sqlite3.c along with better_sqlite3.cpp.
|
|
18
|
+
# 4. node-gyp links the two resulting binaries to generate better_sqlite3.node.
|
|
19
|
+
# ===
|
|
20
|
+
|
|
21
|
+
YEAR="2026"
|
|
22
|
+
VERSION="3510300"
|
|
23
|
+
|
|
24
|
+
# Defines below are sorted alphabetically
|
|
25
|
+
DEFINES="
|
|
26
|
+
HAVE_INT16_T=1
|
|
27
|
+
HAVE_INT32_T=1
|
|
28
|
+
HAVE_INT8_T=1
|
|
29
|
+
HAVE_STDINT_H=1
|
|
30
|
+
HAVE_UINT16_T=1
|
|
31
|
+
HAVE_UINT32_T=1
|
|
32
|
+
HAVE_UINT8_T=1
|
|
33
|
+
HAVE_USLEEP=1
|
|
34
|
+
SQLITE_DEFAULT_CACHE_SIZE=-16000
|
|
35
|
+
SQLITE_DEFAULT_FOREIGN_KEYS=1
|
|
36
|
+
SQLITE_DEFAULT_MEMSTATUS=0
|
|
37
|
+
SQLITE_DEFAULT_WAL_SYNCHRONOUS=1
|
|
38
|
+
SQLITE_DQS=0
|
|
39
|
+
SQLITE_ENABLE_COLUMN_METADATA
|
|
40
|
+
SQLITE_ENABLE_DBSTAT_VTAB
|
|
41
|
+
SQLITE_ENABLE_DESERIALIZE
|
|
42
|
+
SQLITE_ENABLE_FTS3
|
|
43
|
+
SQLITE_ENABLE_FTS3_PARENTHESIS
|
|
44
|
+
SQLITE_ENABLE_FTS4
|
|
45
|
+
SQLITE_ENABLE_FTS5
|
|
46
|
+
SQLITE_ENABLE_GEOPOLY
|
|
47
|
+
SQLITE_ENABLE_JSON1
|
|
48
|
+
SQLITE_ENABLE_MATH_FUNCTIONS
|
|
49
|
+
SQLITE_ENABLE_RTREE
|
|
50
|
+
SQLITE_ENABLE_STAT4
|
|
51
|
+
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
|
52
|
+
SQLITE_LIKE_DOESNT_MATCH_BLOBS
|
|
53
|
+
SQLITE_OMIT_DEPRECATED
|
|
54
|
+
SQLITE_OMIT_PROGRESS_CALLBACK
|
|
55
|
+
SQLITE_OMIT_SHARED_CACHE
|
|
56
|
+
SQLITE_OMIT_TCL_VARIABLE
|
|
57
|
+
SQLITE_SOUNDEX
|
|
58
|
+
SQLITE_THREADSAFE=2
|
|
59
|
+
SQLITE_TRACE_SIZE_LIMIT=32
|
|
60
|
+
SQLITE_USE_URI=0
|
|
61
|
+
"
|
|
62
|
+
|
|
63
|
+
# ========== START SCRIPT ========== #
|
|
64
|
+
|
|
65
|
+
echo "setting up environment..."
|
|
66
|
+
DEPS="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
67
|
+
TEMP="$DEPS/temp"
|
|
68
|
+
OUTPUT="$DEPS/sqlite3"
|
|
69
|
+
rm -rf "$TEMP"
|
|
70
|
+
rm -rf "$OUTPUT"
|
|
71
|
+
mkdir -p "$TEMP"
|
|
72
|
+
mkdir -p "$OUTPUT"
|
|
73
|
+
export CFLAGS=`echo $(echo "$DEFINES" | sed -e "/^\s*$/d" -e "s/^/-D/")`
|
|
74
|
+
|
|
75
|
+
echo "downloading source..."
|
|
76
|
+
curl -#f "https://www.sqlite.org/$YEAR/sqlite-src-$VERSION.zip" > "$TEMP/source.zip" || exit 1
|
|
77
|
+
|
|
78
|
+
echo "extracting source..."
|
|
79
|
+
unzip "$TEMP/source.zip" -d "$TEMP" > /dev/null || exit 1
|
|
80
|
+
cd "$TEMP/sqlite-src-$VERSION" || exit 1
|
|
81
|
+
|
|
82
|
+
echo "configuring amalgamation..."
|
|
83
|
+
sh configure > /dev/null || exit 1
|
|
84
|
+
|
|
85
|
+
echo "building amalgamation..."
|
|
86
|
+
make OPTIONS="$CFLAGS" sqlite3.c > /dev/null || exit 1
|
|
87
|
+
|
|
88
|
+
echo "copying amalgamation..."
|
|
89
|
+
cp sqlite3.c sqlite3.h sqlite3ext.h "$OUTPUT/" || exit 1
|
|
90
|
+
|
|
91
|
+
echo "applying patches..."
|
|
92
|
+
cd "$DEPS" || exit 1
|
|
93
|
+
for patch in patches/*.patch; do
|
|
94
|
+
# If a patch fails, just skip it an move on.
|
|
95
|
+
# By default `patch` tries to be clever and reverse the patch, so we have to specify `--forward`.
|
|
96
|
+
# If the patch fails, we # don't write .orig and .rej files, so we have to specify `--no-backup-if-mismatch` and `--reject-file=-`.
|
|
97
|
+
patch --batch --forward --no-backup-if-mismatch --reject-file=- -p2 < "$patch"
|
|
98
|
+
done
|
|
99
|
+
|
|
100
|
+
echo "updating gyp configs..."
|
|
101
|
+
GYP="$DEPS/defines.gypi"
|
|
102
|
+
printf "# THIS FILE IS AUTOMATICALLY GENERATED BY deps/download.sh (DO NOT EDIT)\n\n{\n 'defines': [\n" > "$GYP"
|
|
103
|
+
printf "$DEFINES" | sed -e "/^\s*$/d" -e "s/\(.*\)/ '\1',/" >> "$GYP"
|
|
104
|
+
printf " ],\n}\n" >> "$GYP"
|
|
105
|
+
|
|
106
|
+
echo "updating docs..."
|
|
107
|
+
DOCS="$DEPS/../docs/compilation.md"
|
|
108
|
+
MAJOR=`expr "${VERSION:0:1}" + 0`
|
|
109
|
+
MINOR=`expr "${VERSION:1:2}" + 0`
|
|
110
|
+
PATCH=`expr "${VERSION:3:2}" + 0`
|
|
111
|
+
sed -Ei.bak -e "s/version [0-9]+\.[0-9]+\.[0-9]+/version $MAJOR.$MINOR.$PATCH/g" "$DOCS"
|
|
112
|
+
sed -i.bak -e "/^SQLITE_/,\$d" "$DOCS"
|
|
113
|
+
sed -i.bak -e "/^HAVE_/,\$d" "$DOCS"
|
|
114
|
+
rm "$DOCS".bak
|
|
115
|
+
printf "$DEFINES" | sed -e "/^\s*$/d" >> "$DOCS"
|
|
116
|
+
printf "\`\`\`\n" >> "$DOCS"
|
|
117
|
+
|
|
118
|
+
echo "cleaning up..."
|
|
119
|
+
cd - > /dev/null || exit 1
|
|
120
|
+
rm -rf "$TEMP"
|
|
121
|
+
|
|
122
|
+
echo "done!"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
diff --git a/deps/sqlite3/sqlite3.c b/deps/sqlite3/sqlite3.c
|
|
2
|
+
index b1a807f..38bd1e6 100644
|
|
3
|
+
--- a/deps/sqlite3/sqlite3.c
|
|
4
|
+
+++ b/deps/sqlite3/sqlite3.c
|
|
5
|
+
@@ -24887,8 +24887,8 @@ static const struct {
|
|
6
|
+
/* 1 */ { 6, "minute", 7.7379e+12, 60.0 },
|
|
7
|
+
/* 2 */ { 4, "hour", 1.2897e+11, 3600.0 },
|
|
8
|
+
/* 3 */ { 3, "day", 5373485.0, 86400.0 },
|
|
9
|
+
- /* 4 */ { 5, "month", 176546.0, 30.0*86400.0 },
|
|
10
|
+
- /* 5 */ { 4, "year", 14713.0, 365.0*86400.0 },
|
|
11
|
+
+ /* 4 */ { 5, "month", 176546.0, 2592000.0 },
|
|
12
|
+
+ /* 5 */ { 4, "year", 14713.0, 31536000.0 },
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/*
|