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

453 commits

Author SHA1 Message Date
Kenichi Ishigaki
9a3151e321 DBD::SQLite: reorganized methods 2009-10-20 20:11:33 +00:00
Kenichi Ishigaki
8cabc9992c DBD::SQLite: removed several commented-out warns 2009-10-20 19:31:43 +00:00
Kenichi Ishigaki
f8a471de36 DBD::SQLite: don't need to store a statement in imp_sth->statement as we can retrieve it from sqlite3_sql(imp_sth->stmt) 2009-10-20 19:27:22 +00:00
Kenichi Ishigaki
0ced6f0a68 DBD::SQLite: should pass attr, too 2009-10-20 17:38:59 +00:00
Kenichi Ishigaki
cf1fb1b652 DBD::SQLite: switched from (deprecated) sqlite_db_login to _login6 2009-10-20 17:26:03 +00:00
Kenichi Ishigaki
c58599e164 DBD::SQLite: unnecessary type casts 2009-10-20 17:03:21 +00:00
Kenichi Ishigaki
e29628f340 DBD::SQLite: added (_)sqlite_open to hide error handling (and closing the failed handle) 2009-10-20 16:56:47 +00:00
Kenichi Ishigaki
02cc347e41 DBD::SQLite: enable foreign keys support by default 2009-10-20 16:51:05 +00:00
Kenichi Ishigaki
b93cb221fa DBD::SQLite: added (_)sqlite_exec to hide error handling 2009-10-20 16:50:14 +00:00
Kenichi Ishigaki
8b24efecf9 DBD::SQLite: we don't need to discard the database handle even if these pragmata should fail 2009-10-20 16:19:42 +00:00
Kenichi Ishigaki
e37b62e6ef DBD::SQLite: made it a bit easier to call sqlite_error 2009-10-20 15:47:33 +00:00
Kenichi Ishigaki
6405c731b4 DBD::SQLite: reorganized pod 2009-10-20 07:23:48 +00:00
Kenichi Ishigaki
d0740e060c DBD::SQLite: tidied 2009-10-20 05:45:25 +00:00
Kenichi Ishigaki
1527e42c09 DBD::SQLite: add a workaround in Changes 2009-10-20 05:30:44 +00:00
Kenichi Ishigaki
19be407a77 DBD::SQLite: trace levels less than 3 are reserved for DBI 2009-10-19 16:18:54 +00:00
Kenichi Ishigaki
1de89394b9 DBD::SQLite: type casts can be done in the macros 2009-10-19 16:11:00 +00:00
Kenichi Ishigaki
90b890264c DBD::SQLite: updated Changes 2009-10-19 15:46:33 +00:00
Kenichi Ishigaki
43fc56529d DBD::SQLite: new tracer doesn't need \n 2009-10-19 15:46:19 +00:00
Kenichi Ishigaki
abdfff86e8 DBD::SQLite: refactored trace; this should be a bit faster and (hopefully) more portable 2009-10-19 15:37:26 +00:00
Kenichi Ishigaki
0dcc7ca72b DBD::SQLite: looks like the segfault is gone, but please wait for a while to see if this fix really *fix* the real problems. we need more teests 2009-10-19 14:56:36 +00:00
Kenichi Ishigaki
e69a79ccff DBD::SQLite: reverted the previous commit 2009-10-19 14:40:25 +00:00
Kenichi Ishigaki
277041b754 DBD::SQLite: sqlite3.h is included in SQLiteXS.h 2009-10-19 14:38:40 +00:00
Kenichi Ishigaki
f0f6ae9de4 DBD::SQLite: include dbivport.h as suggested in DBI::DBD 2009-10-19 14:37:27 +00:00
Kenichi Ishigaki
fa1267bb7a DBD::SQLite: silence another warning 2009-10-19 07:20:21 +00:00
Kenichi Ishigaki
bcdce2f1fc DBD::SQLite: cosmetics and squash a warning 2009-10-19 07:19:25 +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
Kenichi Ishigaki
e4ccb21f9c DBD::SQLite: previous disconnect procedure doesn't work properly as it doesn't take several things into account. it seems better to fix other parts that start to break again... 2009-10-19 07:05:44 +00:00
Kenichi Ishigaki
6c8539ef43 DBD::SQLite: sqlite3_next_stmt returns a pointer or NULL, not SQLITE_OK 2009-10-19 05:51:24 +00:00
Kenichi Ishigaki
a8ab9bd263 DBD::SQLite: done cleanup for now 2009-10-18 15:07:17 +00:00
Kenichi Ishigaki
234d619b21 DBD::SQLite: more cleanup 2009-10-18 14:18:28 +00:00
Kenichi Ishigaki
c377a44184 DBD::SQLite: more cleanup 2009-10-18 14:01:20 +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
Kenichi Ishigaki
3d8e897d58 DBD::SQLite: more cleanup 2009-10-18 13:11:07 +00:00
Kenichi Ishigaki
26cde8f98c DBD::SQLite: a bit cleanup 2009-10-18 12:36:59 +00:00
Kenichi Ishigaki
f1dd33e052 DBD::SQLite: if we fail to set a pragma and return undef, we can't use the handle anymore. so close it before we return 2009-10-18 08:51:59 +00:00
Kenichi Ishigaki
ba00282533 DBD::SQLite: tracer should use sqlite_trace for clarity 2009-10-18 08:32:13 +00:00
Kenichi Ishigaki
8e5e323bd2 DBD::SQLite: sqlite API doc suggests to close the handle you tried to open but failed anyway 2009-10-18 06:03:53 +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
1d17ea4428 DBD::SQLite: updated Changes 2009-10-14 15:39:47 +00:00
Kenichi Ishigaki
8fb2535184 DBD::SQLite: updated bundled library to 3.6.19 2009-10-14 15:38:55 +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
923f031682 Fixed column_info ORDINAL_POSITION starts at 1 2009-10-01 12:44:18 +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
Vernon Lyon
a31981fa77 Added documentation and an Escape attribute for $sth->table_info 2009-09-29 15:35:46 +00:00
Kenichi Ishigaki
cc6743a3bc DBD-SQLite: added the RT issue # to make it clear 2009-09-16 04:17:58 +00:00