1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 06:08:38 -04:00
Commit graph

60 commits

Author SHA1 Message Date
Kenichi Ishigaki
d4aea379d4 Add sqlite_error_offset 2022-02-23 19:43:21 +09:00
Kenichi Ishigaki
4d1b28c393 Expose sqlite3_txn_state 2020-12-06 02:00:27 +09:00
Kenichi Ishigaki
3363414db3 expose sqlite3_get_autocommit (fix #52) 2019-07-12 02:01:41 +09:00
Kenichi Ishigaki
a28532af37 implemented sqlite_db_config interface (RT-128056) 2018-12-22 05:09:06 +09:00
Kenichi Ishigaki
6faa8a3c90 Implemented backup_to_dbh/backup_from_dbh (#30) 2018-12-01 17:48:46 +09:00
Kenichi Ishigaki
66dff77e10 added sqlite_limit method 2018-12-01 13:50:45 +09:00
Kenichi Ishigaki
e17149317a re-enable perl tokenizer by calling sqlite3_db_config if SQLite >= 3.12 2016-11-26 10:07:24 +09:00
Kenichi Ishigaki
d1fd6128e3 register perl tokenizer only if DBD::SQLite is compiled with -DSQLITE_ENABLE_FTS3_TOKENIZER 2016-02-16 12:55:38 +09:00
Kenichi Ishigaki
f5aaef2594 allowed strlike to take a letter as the third arg, instead of a number 2016-01-11 19:42:39 +09:00
Kenichi Ishigaki
ea07bcc638 LIKE/GLOB/REGEXP are also required to be implemented for SQLite 3.10.0 and above 2016-01-07 19:47:10 +09:00
Kenichi Ishigaki
74e19c5161 use MY_CXT instead of a static global variable 2015-05-02 02:29:43 +09:00
Kenichi Ishigaki
a23de06650 fix GH #8 2015-04-16 19:59:21 +09:00
Kenichi Ishigaki
ea3e25e620 added a generated constants.inc and ::Constants 2015-03-19 02:17:40 +09:00
Kenichi Ishigaki
7a234eb71b implemented a "do" shortcut for a special case (no attr, no bind params) (RT-35449) 2015-02-16 17:41:42 +09:00
Kenichi Ishigaki
eb10c7ce6f tweaked code and tests for older SQLite libraries (re: RT 101573) 2015-02-10 17:07:32 +09:00
Kenichi Ishigaki
297f997471 Revert "silenced yet another 'unused' warning"
This reverts commit 0a618d811a.
2014-07-21 08:43:58 +09:00
Kenichi Ishigaki
0a618d811a silenced yet another 'unused' warning 2014-07-21 08:38:37 +09:00
Laurent Dami
78984a9de8 initial support for virtual tables in Perl (WORK IN PROGRESS) 2014-07-09 08:31:34 +02:00
Kenichi Ishigaki
0c96602837 allow to set busy_timeout to 0 via sqlite_busy_timeout() (#3) 2014-03-26 23:14:40 +09:00
Kenichi Ishigaki
b1ac23d02e supported sqlite3_open_v2 flags 2013-07-28 17:11:16 +09:00
Kenichi Ishigaki
3be75f6838 implemented sqlite_load_extension 2012-09-19 14:55:20 +00:00
Kenichi Ishigaki
ac73b3ec7f implemented status interfaces 2012-09-07 19:35:52 +00:00
Kenichi Ishigaki
8371d73f96 implemented ping and db_filename to resolve #64177 2012-09-06 14:44:13 +00:00
Kenichi Ishigaki
5de4189aa4 implemented sqlite_table_column_metadata 2012-09-02 18:48:53 +00:00
Kenichi Ishigaki
dee9d14372 sqlite_trace should always be called as is 2012-01-12 16:39:52 +00:00
Kenichi Ishigaki
8656844bd9 sqlite_trace/sqlite_profile 2012-01-12 05:36:24 +00:00
Kenichi Ishigaki
dd05ef54fd removed a warning 2011-08-24 02:47:51 +00:00
Kenichi Ishigaki
e40b755564 better support for SQLITE_OMIT_LOAD_EXTENSION 2011-08-24 02:19:59 +00:00
Laurent Dami
d43cf63ad0 added support for FTS3 fulltext searches : perl tokenizers, documentation and tests 2010-07-13 06:28:21 +00:00
Kenichi Ishigaki
d9887cd5b9 SAVEPOINT requires SQLite 3.6.11 2010-06-10 07:03:42 +00:00
Kenichi Ishigaki
563756cc99 sqlite_version_number 2010-06-10 06:29:29 +00:00
Kenichi Ishigaki
479cb58030 killed warnings 2010-05-24 13:10:16 +00:00
Kenichi Ishigaki
233eca519b AvFILL is deprecated 2010-05-24 06:24:01 +00:00
Kenichi Ishigaki
1c50bae61b returning an array should be better 2010-05-21 03:58:11 +00:00
Kenichi Ishigaki
937f856f37 compile options 2010-05-20 03:04:03 +00:00
Kenichi Ishigaki
2fa57ee8fa DBD::SQLite: removed undocumented and useless reset method from a statement handle 2009-10-18 13:37:11 +00:00
Laurent Dami
ec38f98792 new implementation for collation_needed, no more malloc -- should no longer leak
new API for global registry of collations, using a "write-once" tied hash
2009-08-06 14:22:12 +00:00
Kenichi Ishigaki
6cfea888c7 DBD-SQLite: tentatively disabled collation_needed stuff as it leaks badly 2009-07-23 15:50:12 +00:00
Kenichi Ishigaki
bb74084586 DBD-SQLite: renamed several sqlite3_ functions to sqlite_, as sqlite3_ prefix should only be used for native sqlite3 functions 2009-07-21 06:34:11 +00:00
Laurent Dami
3714dc6954 - Added support for commit/rollback/update hooks (DAMI)
- Added support for set_authorizer (DAMI)
    - Added support for collation_needed(), and reorganised driver API
      for user-defined collations (DAMI)
    - Exported constants from sqlite3.h into DBD::SQLite namespace (DAMI)
    - Added support in t/lib/Test.pm for checking both versions of
      driver-private methods ("func" / "sqlite_*") (DAMI)
    - Removed unused and obsolete "list_tables" from SQLite.xs (DAMI)
    - Added a default implementation for the REGEXP infix operator (DAMI)
2009-07-20 10:20:09 +00:00
Kenichi Ishigaki
1c06ff021e DBD-SQLite: made sure if private methods/functions return true after successful calls (#44871) 2009-05-06 12:18:37 +00:00
Kenichi Ishigaki
b78c888711 DBD-SQLite: fixed return value of create_aggregate 2009-05-06 10:19:29 +00:00
Kenichi Ishigaki
400dc2b884 DBD-SQLite: fixed return value of enable_load_extension 2009-05-06 10:16:57 +00:00
Kenichi Ishigaki
e471875089 DBD-SQLite: fixed return value of create_function 2009-05-06 10:14:47 +00:00
Kenichi Ishigaki
a8346d9b42 DBD-SQLite: fixed return value of progress_handler 2009-05-06 09:40:43 +00:00
Kenichi Ishigaki
9b1e2854ca DBD-SQLite: tweaked white spaces 2009-05-06 08:41:12 +00:00
Kenichi Ishigaki
804169717e DBD-SQLite: prepared install_method() for the rest of the functions, and added tests for the installed methods (TODO: need to tweak return values for several functions) 2009-05-06 08:39:49 +00:00
Kenichi Ishigaki
4958487d94 DBD-SQLite: renamed misleading dbd_set_sqlite3_busy_timeout to sqlite3_db_busy_timeout (dbd_ prefix should be used for the ones defined in dbd_xsh.h in the DBI package) 2009-05-06 08:08:33 +00:00
Kenichi Ishigaki
87baa98f67 DBD-SQLite: applied the online backup patch from Toby Corkindale (with a little modification) 2009-05-06 07:55:35 +00:00
Kenichi Ishigaki
16d3af7794 DBD-SQLite: started using install_method(); ported last_insert_rowid as the first attempt 2009-05-05 09:02:02 +00:00