Kenichi Ishigaki
ea7093b866
updated Changes and versions; please ship this as another dev release
2010-01-01 12:49:18 +00:00
Kenichi Ishigaki
8d4756d31c
avoid confusion by manual commit/rollback
2010-01-01 11:59:39 +00:00
Kenichi Ishigaki
c8502a2bbf
don't bother BegunWork flag if AutoCommit is off
2010-01-01 11:11:05 +00:00
Kenichi Ishigaki
cb0f6a5aef
undef statement does not need to spit a warning
2010-01-01 08:55:22 +00:00
Kenichi Ishigaki
fc6dc7a3d3
DBD::SQLite: empty or comment-only statements shouldn't die. issue spotted by tokuhirom++
2009-12-26 03:17:02 +00:00
Kenichi Ishigaki
5a755b8ca7
DBD::SQLite: fixed #52573 manual transaction issue; please ship this as a dev release (or a prod one if you prefer) to see if this would also fix other major tools like CPANPLUS etc, which 1.27 reportedly broke
2009-12-20 03:12:06 +00:00
Adam Kennedy
0862fd90f8
Preparing for production release
2009-11-23 11:07:34 +00:00
Adam Kennedy
3f78228f36
Updating version for release
2009-11-16 01:42:00 +00:00
Kenichi Ishigaki
b4df6fa916
DBD::SQLite: use 3-args open
2009-11-03 17:36:38 +00:00
Kenichi Ishigaki
e60d50b81e
DBD::SQLite: let us know if the debug macros are enabled
2009-11-03 17:24:34 +00:00
Kenichi Ishigaki
70bf9a7c52
DBD::SQLite: don't forget to test .h files
2009-11-03 17:19:46 +00:00
Adam Kennedy
ec3b820aba
Preparing for release
2009-10-28 11:09:26 +00:00
Kenichi Ishigaki
895897258b
DBD::SQLite: renamed "unicode" attribute to "sqlite_unicode"
2009-10-21 02:36:14 +00:00
Kenichi Ishigaki
1dcd2489c0
DBD::SQLite: better hide the intentional error
2009-10-19 07:13:08 +00:00
Kenichi Ishigaki
2e0020b3eb
DBD::SQLite: turned off the RaiseError as we changed invalid close to an error
2009-10-19 07:09:41 +00:00
Darren Duncan
03ae5523f0
t/rt_50503_fts3.t no longer skips its failing test
2009-10-16 23:46:08 +00:00
Adam Kennedy
a0188d13f9
Skipping test so we can do a dev release with the SQLite foreign key improvements
2009-10-15 03:57:44 +00:00
Kenichi Ishigaki
726440ae80
DBD::SQLite: added a failing test (WARNING: this test may cause segfaults now!), adapted from RT #50503 posted by sendai
2009-10-15 01:20:12 +00:00
Kenichi Ishigaki
385c138f67
DBD-SQLite: updated version and release date
2009-10-06 04:36:11 +00:00
Kenichi Ishigaki
d6af16bea5
DBD-SQLite: Tweaked not to hide a real error by a "not an error" issued by another sqlite3 function between the failed sqlite3 function and the sqlite_error to report.
...
Note that this change makes some failures issue two relevant errors at a time.
2009-10-06 04:29:05 +00:00
Vernon Lyon
0c5dbbf467
Fixed $sth->primary_key_info according to DBI spec
2009-09-29 17:15:59 +00:00
Vernon Lyon
bcb95ed536
fixup incorrect TODO passing
2009-09-29 15:50:23 +00:00
Kenichi Ishigaki
f9fa530207
DBD-SQLite: applied a new patch by VLYON ( #49716 )
2009-09-16 04:16:36 +00:00
Kenichi Ishigaki
c4ce415524
DBD-SQLite: applied a patch to fix column_info from VYLON
2009-09-15 13:34:39 +00:00
Kenichi Ishigaki
e761e1af79
DBD-SQLite: "Your env might be too slow" message should be directed to STDERR to make it visible while doing "make test"
2009-08-15 10:33:39 +00:00
Kenichi Ishigaki
445517aca7
DBD-SQLite: made it clearer the first insert failure is intentional and expected
2009-08-15 10:03:53 +00:00
Kenichi Ishigaki
9750059197
DBD-SQLite: wrapped the second insert (which may be timed out in the worst case) with eval not to abort the test
2009-08-15 10:02:53 +00:00
Kenichi Ishigaki
692a7840b1
DBD-SQLite: added another comment to the busy test, and tweaked sleep/timeout to prevent it from failing under slower machines
2009-08-15 09:54:24 +00:00
Kenichi Ishigaki
411cd59e82
DBD-SQLite: added a comment to the busy test, and made the first timeout happen sooner
2009-08-15 09:34:12 +00:00
Kenichi Ishigaki
c944fdc5e4
DBD-SQLite: removed an unused variable
2009-08-15 09:25:00 +00:00
Kenichi Ishigaki
3441f644ff
DBD-SQLite: made the debugger test non-interactive
2009-08-13 11:39:39 +00:00
Kenichi Ishigaki
6de5c908f7
DBD-SQLite: now BegunWork (set by begin_work) is handled properly (as requested in DBI::Changes; see notes for 1.20), and this resolved rt #48393 .
...
In fact, it looks like I lost this code by mistake while preparing the previous release. I remember I wrote this before...
I added a test for this, but as it requires the perl debugger, it is disabled by default. Wondering if we can do it without calling system() and the likes...
2009-08-13 11:28:40 +00:00
Kenichi Ishigaki
3aa4ac0eed
DBD-SQLite: updated version
2009-08-10 16:05:36 +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
976d04a682
DBD-SQLite: don't need to show diagnostics twice
2009-07-23 14:30:24 +00:00
Kenichi Ishigaki
5ff1f078d5
DBD-SQLite: also applied @CALL_FUNCS trick to t/08_busy.t
2009-07-23 14:22:04 +00:00
Kenichi Ishigaki
19b512b0b8
DBD-SQLite: applied @CALL_FUNCS trick and removed several _func tests
2009-07-23 14:12:35 +00:00
Laurent Dami
3997c0ffaf
- Accept empty filename at connect (sqlite will open a tempfile) (DAMI)
...
- Documented the connect() method (DAMI)
2009-07-23 07:00:26 +00:00
Kenichi Ishigaki
4f5603f3db
DBD-SQLite: fixed the perl 5.8 segfault issue for set_authorizer
2009-07-21 17:32:31 +00:00
Kenichi Ishigaki
0db63f3f9e
DBD-SQLite: moved the plan tests calculation out of a BEGIN block, as it uses a variable/configuration initialized outside the block
2009-07-21 14:42:14 +00:00
Kenichi Ishigaki
80bd5e10a0
DBD-SQLite: 36_hooks.t even segfaults under Solaris + perl 5.8. From what I've seen and tested, I guess it segfaults with perl 5.8, and it doesn't with perl 5.10. DBI version doesn't matter.
2009-07-21 14:38:13 +00:00
Kenichi Ishigaki
1d6d87ffc1
DBD-SQLite: made svn:eol-style property to native
2009-07-21 14:16:07 +00:00
Kenichi Ishigaki
1e3d1171a8
DBD-SQLite: 36_hooks.t also segfaults on freebsd
2009-07-21 14:10:42 +00:00
Kenichi Ishigaki
cb8a0ec896
DBD-SQLite: skip_all should be in a BEGIN block and be placed before use Test::NoWarnings
2009-07-21 14:05:06 +00:00
Kenichi Ishigaki
9b62d7a2aa
DBD-SQLite: don't need to (in fact, shouldn't) check DBI version explicitly if we use @CALL_FUNCS (as it checks DBI version)
2009-07-21 14:00:28 +00:00
Kenichi Ishigaki
a7742e4d4c
DBD-SQLite: tentatively disabled one test which causes segfault under MSWin32
2009-07-21 06:18:41 +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
5cbeb50890
DBD-SQLite: switched to use :memory: for most of the tests
...
Speaking more specifically, for the tests that don't require reconnection. It seems this makes it easier to find memory leaks by DBD::SQLite itself.
2009-07-02 10:00:51 +00:00
Kenichi Ishigaki
ae41bd45c1
applied a patch to fix table_info issue from Vlyon ( #46831 )
2009-06-11 01:20:49 +00:00
Kenichi Ishigaki
74efd983dc
DBD-SQLite: skip_all should be placed before Test::NoWarnings
2009-05-22 01:36:09 +00:00