mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Update SQLite to 3.31.1
This commit is contained in:
parent
d958b05c1d
commit
a47cb92cfd
5 changed files with 9062 additions and 5435 deletions
|
@ -1073,7 +1073,7 @@ are limited by the typeless nature of the SQLite database.
|
||||||
=head1 SQLITE VERSION
|
=head1 SQLITE VERSION
|
||||||
|
|
||||||
DBD::SQLite is usually compiled with a bundled SQLite library
|
DBD::SQLite is usually compiled with a bundled SQLite library
|
||||||
(SQLite version S<3.30.1> as of this release) for consistency.
|
(SQLite version S<3.31.1> as of this release) for consistency.
|
||||||
However, a different version of SQLite may sometimes be used for
|
However, a different version of SQLite may sometimes be used for
|
||||||
some reasons like security, or some new experimental features.
|
some reasons like security, or some new experimental features.
|
||||||
|
|
||||||
|
|
16
sqlite3ext.h
16
sqlite3ext.h
|
@ -324,6 +324,12 @@ struct sqlite3_api_routines {
|
||||||
int (*value_frombind)(sqlite3_value*);
|
int (*value_frombind)(sqlite3_value*);
|
||||||
/* Version 3.30.0 and later */
|
/* Version 3.30.0 and later */
|
||||||
int (*drop_modules)(sqlite3*,const char**);
|
int (*drop_modules)(sqlite3*,const char**);
|
||||||
|
/* Version 3.31.0 and later */
|
||||||
|
sqlite3_int64 (*hard_heap_limit64)(sqlite3_int64);
|
||||||
|
const char *(*uri_key)(const char*,int);
|
||||||
|
const char *(*filename_database)(const char*);
|
||||||
|
const char *(*filename_journal)(const char*);
|
||||||
|
const char *(*filename_wal)(const char*);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -614,10 +620,16 @@ typedef int (*sqlite3_loadext_entry)(
|
||||||
/* Version 3.26.0 and later */
|
/* Version 3.26.0 and later */
|
||||||
#define sqlite3_normalized_sql sqlite3_api->normalized_sql
|
#define sqlite3_normalized_sql sqlite3_api->normalized_sql
|
||||||
/* Version 3.28.0 and later */
|
/* Version 3.28.0 and later */
|
||||||
#define sqlite3_stmt_isexplain sqlite3_api->isexplain
|
#define sqlite3_stmt_isexplain sqlite3_api->stmt_isexplain
|
||||||
#define sqlite3_value_frombind sqlite3_api->frombind
|
#define sqlite3_value_frombind sqlite3_api->value_frombind
|
||||||
/* Version 3.30.0 and later */
|
/* Version 3.30.0 and later */
|
||||||
#define sqlite3_drop_modules sqlite3_api->drop_modules
|
#define sqlite3_drop_modules sqlite3_api->drop_modules
|
||||||
|
/* Version 3.31.0 and later */
|
||||||
|
#define sqlite3_hard_heap_limit64 sqlite3_api->hard_heap_limit64
|
||||||
|
#define sqlite3_uri_key sqlite3_api->uri_key
|
||||||
|
#define sqlite3_filename_database sqlite3_api->filename_database
|
||||||
|
#define sqlite3_filename_journal sqlite3_api->filename_journal
|
||||||
|
#define sqlite3_filename_wal sqlite3_api->filename_wal
|
||||||
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
|
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
|
||||||
|
|
||||||
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
|
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
|
||||||
|
|
|
@ -448,6 +448,7 @@ sub year {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return "snapshot" if $self->is_snapshot;
|
return "snapshot" if $self->is_snapshot;
|
||||||
my $version = $self->as_num;
|
my $version = $self->as_num;
|
||||||
|
return 2020 if $version >= 3310000;
|
||||||
return 2019 if $version >= 3270000;
|
return 2019 if $version >= 3270000;
|
||||||
return 2018 if $version >= 3220000;
|
return 2018 if $version >= 3220000;
|
||||||
return 2017 if $version >= 3160000;
|
return 2017 if $version >= 3160000;
|
||||||
|
|
Loading…
Add table
Reference in a new issue