[DBD-SQLite] [PATCH] Add online backup support

Toby Corkindale toby.corkindale at strategicdata.com.au
Wed May 6 05:25:59 GMT 2009


Kenichi Ishigaki wrote:
> 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

Thanks.
I've attached a test, which passes against my previous patch.

Within that, you can see I'm doing calls of:
$dbh->backup_from_file('foo');

Are you suggesting that it should be:
$dbh->sqlite_backup_from_file('foo');
instead?

I'll see if I can convert that over quickly.

-Toby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 35_online_backup.t
Type: text/troff
Size: 1375 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbd-sqlite/attachments/20090506/fb=
6cf8d5/35_online_backup.bin


More information about the DBD-SQLite mailing list