Kenichi Ishigaki
5f5caa286f
Add more tests for create_function
2020-01-18 10:01:33 +09:00
Kenichi Ishigaki
2e455b0861
Add a note on the return value of a function for create_function
2020-01-18 10:01:07 +09:00
Kenichi Ishigaki
0cbc86a243
update constants
2019-10-27 23:53:30 +09:00
Kenichi Ishigaki
3565afd633
update SQLite to 3.30.1
2019-10-27 23:50:13 +09:00
Kenichi Ishigaki
8b3a041003
initialize eof ( fix #55 )
2019-08-18 20:12:51 +09:00
Kenichi Ishigaki
ccd1995967
Merge pull request #57 from pali/master
...
Add DBI SQL_BOOLEAN type as alias for SQLITE_INTEGER
2019-08-16 22:48:13 +09:00
Pali
6cffbab90e
Add DBI SQL_BOOLEAN type as alias for SQLITE_INTEGER
...
According to SQLite documentation, boolean values are stored as integers:
https://www.sqlite.org/datatype3.html#boolean_datatype
2019-08-16 15:27:48 +02:00
Kenichi Ishigaki
583b5b131e
Merge pull request #56 from pali/master
...
Add DBI SQL_BIT, SQL_BINARY, SQL_VARBINARY and SQL_LONGVARBINARY types as alias for SQLITE_BLOB
2019-08-16 22:25:43 +09:00
Pali
012ad14605
Add DBI SQL_BIT, SQL_BINARY, SQL_VARBINARY and SQL_LONGVARBINARY types as alias for SQLITE_BLOB
...
Other DBI drivers use DBI SQL_VARBINARY type for binary data, including
SQLite3 ODBC driver (via DBD::ODBC). So this change allows to use DBI
SQL_VARBINARY type for SQLite3 blob data.
2019-08-16 14:41:37 +02:00
Kenichi Ishigaki
523d5a91ee
Merge pull request #54 from ppisar/undefined_filename
...
Initialize filename variable in sqlite_db_filename()
2019-08-12 12:03:30 +03:00
Kenichi Ishigaki
dd68440d7d
Merge branch 'allow_created_function_to_return_blob'
2019-08-12 18:02:30 +09:00
Kenichi Ishigaki
1bab5016df
release 1.64
2019-08-12 18:01:57 +09:00
Kenichi Ishigaki
64e4c9d299
Use trusty to test
2019-07-30 00:26:47 +09:00
Petr Písař
0c92dbae92
Initialize filename variable in sqlite_db_filename()
...
If sqlite library is too old, filename variable in
sqlite_db_filename() function was never defined. In spite of that the
variable was used in later condition.
This patch fixes it.
2019-07-29 16:59:44 +02:00
Kenichi Ishigaki
13f3416e3c
allow created function to return [value, sql_type] to specify the value is a blob explicitly
2019-07-21 01:50:33 +09:00
Kenichi Ishigaki
3212d33b59
release 1.63_05
2019-07-12 02:47:53 +09:00
Kenichi Ishigaki
de43ac98af
let db_config allow new constants
2019-07-12 02:44:45 +09:00
Kenichi Ishigaki
3363414db3
expose sqlite3_get_autocommit ( fix #52 )
2019-07-12 02:01:41 +09:00
Kenichi Ishigaki
e0aba4fb86
update constants
2019-07-12 01:14:05 +09:00
Kenichi Ishigaki
83885adae4
updated SQLite to 3.29.0
2019-07-12 01:09:18 +09:00
Kenichi Ishigaki
685c944cb5
release 1.63_04
2019-05-25 01:39:09 +09:00
Kenichi Ishigaki
e3bce4ab39
fix $dbh->quote(blob, SQL_BLOB) #51
2019-05-25 01:33:09 +09:00
Kenichi Ishigaki
f9a8feccc0
updated Changes
2019-05-23 03:43:36 +09:00
Kenichi Ishigaki
d4de22088c
sqlite_db_filename may return an empty string or undef, dependeing on the situation ( fix #50 )
2019-05-23 03:31:31 +09:00
Kenichi Ishigaki
a9c7c5131a
updated SQLite to 3.28.0
2019-04-18 00:40:25 +09:00
Kenichi Ishigaki
885fded4b6
updated SQLite to 3.27.2
2019-03-05 00:21:10 +09:00
Kenichi Ishigaki
dd9df3efea
release 1.63_03
2019-02-15 01:55:00 +09:00
Kenichi Ishigaki
8b758bfbbf
applied a patch to fix segmentation fault on 32-bit big-endian platforms by Niko Tyni ( #45 )
...
https://salsa.debian.org/perl-team/modules/packages/libdbd-sqlite3-perl/blob/master/debian/patches/0001-Fix-SQLITE_DBCONFIG_DEFENSIVE-parameter-types.patch
2019-02-15 01:52:05 +09:00
Kenichi Ishigaki
6e89c499b4
release 1.63_02
2019-02-14 04:08:12 +09:00
Kenichi Ishigaki
31915d44ed
skip a compatibility test if sqlite is compiled with SQLITE_USE_URI ( #47 )
2019-02-14 03:28:15 +09:00
Kenichi Ishigaki
e76abc2774
updated SQLite to 3.27.1
2019-02-11 21:51:16 +09:00
Kenichi Ishigaki
82cdba9f8f
fixed SQLiteUtil to fetch releases in 2019
2019-02-11 21:50:43 +09:00
Kenichi Ishigaki
ce5b33b381
try not to reuse hv
2019-01-26 07:41:16 +09:00
Kenichi Ishigaki
13da736ed6
release 1.63_01
2019-01-26 07:19:04 +09:00
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