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

1450 commits

Author SHA1 Message Date
Kenichi Ishigaki
b0fad50e4c fixed for older DBI 2019-01-26 07:12:40 +09:00
Kenichi Ishigaki
fa6a2c7040 fixed no if conditions 2019-01-26 07:10:10 +09:00
Kenichi Ishigaki
90ec098f1c added a boilerplace for test 2019-01-26 06:56:16 +09:00
Kenichi Ishigaki
7347e226a3
Merge pull request #46 from Corion/master
Handle 'unknown' op in DBD::SQLite::VirtualTable::PerlData
2019-01-26 06:51:52 +09:00
Kenichi Ishigaki
e5f82badfe initialize HV* with NULL 2019-01-26 06:37:26 +09:00
Max Maischein
1fd1a0d15f Handle 'unknown' op in DBD::SQLite::VirtualTable::PerlData
This patch adds code and a test when SQLite generates an 'unknown'
op for a table join in the BEST_INDEX() callback. The Perl code crashed
when such an op was generated for a JOIN criterion by the SQLite engine.

The SQLite engine creates an 'unknown' op on the following SQL
for example:

                select r.nodepath
                  from temp.scan_results r
                       left join temp.scan_results m
                             on r.nodepath = m.nodepath+1
                 where m.nodepath is null

The important part is that the right side of the left join must be
checked for IS NULL.
2019-01-25 19:05:07 +01:00
Kenichi Ishigaki
bfe71db88f locale warning is only available for perl 5.22+ 2019-01-20 08:27:04 +09:00
Kenichi Ishigaki
9c1b3501f7 fix the number of tests to skip (fix #44) 2019-01-20 08:23:49 +09:00
Kenichi Ishigaki
4dd0bf8167 no warnings 'locale' 2019-01-18 05:13:34 +09:00
Kenichi Ishigaki
9696efa8bf requires Test::More 0.88 for done_testing 2019-01-07 03:51:01 +09:00
Kenichi Ishigaki
627666e888 not to use Test::FailWarnings except for developers environment 2019-01-07 03:48:10 +09:00
Kenichi Ishigaki
f56689d929 use more test utility functions 2019-01-07 03:41:09 +09:00
Kenichi Ishigaki
cdb721d162 use note to hide debug messages 2019-01-07 03:39:10 +09:00
Kenichi Ishigaki
49ea768740 fixed a broken test because Test::NoWarnings was gone 2019-01-06 22:28:30 +09:00
Kenichi Ishigaki
c17009cea0 updated MANIFEST 2019-01-06 22:27:05 +09:00
Kenichi Ishigaki
fdde5b98ef use Test::FailWarnings as Test::NoWarnings does not play well with done_testing 2019-01-06 09:17:14 +09:00
Kenichi Ishigaki
c84a0a9781 use done_testing and remove plan tests 2019-01-06 09:03:41 +09:00
Kenichi Ishigaki
fc55eeb0d7 fixed mixed EOLs and removed redundant blank lines 2019-01-06 05:55:34 +09:00
Kenichi Ishigaki
11c2f4e70f use warnings 2019-01-02 21:17:30 +09:00
Kenichi Ishigaki
12ab284322 removed shebang from tests 2019-01-02 21:10:51 +09:00
Kenichi Ishigaki
48740e8f30 removed executable bit from a test 2019-01-02 20:55:34 +09:00
Kenichi Ishigaki
81d35f23ba
Merge pull request #42 from fsbruva/master
(Makefile.PL): Correct required version of Test::More
2019-01-02 02:15:39 +09:00
fsbruva@yahoo.com
cd85706b93
(Makefile.PL): Correct required version of Test::More
According to the Perl documentation, the functions note() and
explain() appeared in Test::More version 0.82. Since these functions
are used within the DBD::SQLite tests, the minimum required version
of Test::More needs to be corrected. Without the proper version,
the build fails on Perls earlier than 5.10. For more information:
https://perldoc.perl.org/Test/More.html#COMPATIBILITY
2019-01-01 14:17:31 +00:00
Kenichi Ishigaki
ed267b92cc ignore a few extensions 2018-12-29 03:02:53 +09:00
Kenichi Ishigaki
fb1cf99dde release 1.62 2018-12-29 02:57:17 +09:00
Kenichi Ishigaki
b4a47ef2cf added tests for sqlite_db_config(..., -1) 2018-12-29 02:56:29 +09:00
Kenichi Ishigaki
fc491a64a9 add more examples for sqlite_db_config (wyant++) 2018-12-23 02:13:04 +09:00
Kenichi Ishigaki
2bbdf48fd7 fixed typo (wyant++) 2018-12-23 01:47:50 +09:00
Kenichi Ishigaki
f05eecb56e release 1.61_04 2018-12-22 15:35:12 +09:00
Kenichi Ishigaki
a719c681d4 add sqlite_defensive option 2018-12-22 15:18:41 +09:00
Kenichi Ishigaki
30c290f49f replace a old sample version number with the latest 2018-12-22 05:28:46 +09:00
Kenichi Ishigaki
2c2d9800f3 fixed pod 2018-12-22 05:28:19 +09:00
Kenichi Ishigaki
35e96238b2 s/http/https/g 2018-12-22 05:27:59 +09:00
Kenichi Ishigaki
8bc5cba09d updated %since 2018-12-22 05:26:54 +09:00
Kenichi Ishigaki
d166633c01 ignore missing sqlite tarballs 2018-12-22 05:25:55 +09:00
Kenichi Ishigaki
9c851bf852 warn if versions in %since/%until does not match the known sqlite version numbers 2018-12-22 05:25:19 +09:00
Kenichi Ishigaki
a4126d6742 show also a tag for a changed constant 2018-12-22 05:20:50 +09:00
Kenichi Ishigaki
843ecf112f make ignore check a bit stricter 2018-12-22 05:18:46 +09:00
Kenichi Ishigaki
f16117c342 cleanup $ignore_tag_re and add some explanation to make it easier for me to expose some of the constants that are only ignored because corresponding interfaces are not implemented yet 2018-12-22 05:17:28 +09:00
Kenichi Ishigaki
d6d91ff948 fixed wrong sqlite version numbers 2018-12-22 05:13:18 +09:00
Kenichi Ishigaki
ffe1410978 expose DBCONFIG constants 2018-12-22 05:11:53 +09:00
Kenichi Ishigaki
a28532af37 implemented sqlite_db_config interface (RT-128056) 2018-12-22 05:09:06 +09:00
Kenichi Ishigaki
b8c5535548 release 1.61_03 2018-12-19 22:02:35 +09:00
Kenichi Ishigaki
3a326fea9f updated SQLite to 3.26.0 2018-12-06 01:59:14 +09:00
Kenichi Ishigaki
c02316e38b release 1.61_02 2018-12-01 18:08:01 +09:00
Kenichi Ishigaki
954ab8f289 changed the preferred bugtracker 2018-12-01 18:02:24 +09:00
Kenichi Ishigaki
45f473b587 Merge branch 'backup_between_dbhs' 2018-12-01 17:53:45 +09:00
Kenichi Ishigaki
eb0ca0a851 added a note on sqlite_prefer_numeric_type 2018-12-01 17:53:15 +09:00
Kenichi Ishigaki
61e1616c61 implemented type_info_all 2018-12-01 17:53:14 +09:00
Kenichi Ishigaki
da7f64c53d introduced sqlite_prefer_numeric_type handle attribute 2018-12-01 17:53:14 +09:00