[DBD-SQLite] [PATCH] Add online backup support
May 2, 2009 at 2:23 am
We're looking forward to the release of the next DBI with
sqlite_ prefix support to fix the func issues ;)
: Great, but please don't use the old func() interface. It's *much* better for the driver to call install_method() when it loads. Then applications can invoke the methods directly, without having to use func(). As a bonus, RaiseError etc work with install_method() but not with func(). Either way, driver-private methods should begin with the driver's prefix, 'sqlite_' in this case. Tim.
: Should be soon. But don't wait. You'll need to add a check for $DBI::VERSION anyway, for those who don't want to (or can't) upgrade their DBI. Tim.
: Hi Tim, Thanks for the feedback. I'm not entirely sure I'm Doing It Right, but attached is a different patch against trunk, which uses the install_method() method of installing functions. It works, but produces a warning that "backup_ is not a registered driver prefix". However if i add "sqlite_" to the front, then I get an error that sqlite_backup_from_file() cannot be found. Although the new methods inside dbdimp.c and SQLite.xs all do have that prefix. Could you suggest what I have done
: Hi Toby, please write a test if you can. As for the usage of install_method(), we need to do like this: DBD::SQLite::db->install_method('sqlite_your_function_name'); Best, Kenichi
[DBD-SQLite] [PATCH] Add online backup support (take 2)
[DBD-SQLite] ok to add a Makefile.PL knob for enabling RTREE support
[DBD-SQLite] added support for FTS3
[DBD-SQLite] DBD::SQLite table introspection
[DBD-SQLite] SQLite 3.6.19 adds foreign keys support
[DBD-SQLite] Adding support for SQLCipher.
[DBD-SQLite] SQLite 3.7.x problem fixed, please dev-release
[DBD-SQLite] [Fwd: Re: [sqlite] test DBD::SQLite 1.26_05 - foreign keys!]
[DBD-SQLite] DBD::SQLite causing memory leak, after upgrade to v1.31, system reboot is required for changes to take effect?
[DBD-SQLite] test DBD::SQLite 1.30_04 - write-ahead logging
3 of 8
May 1, '09 at 6:24a
May 6, '09 at 9:43a
3 users in discussion
Tim Bunce (3)
Toby Corkindale (3)
Kenichi Ishigaki (2)
Groups & Organizations
site design / logo © 2021 Grokbase