ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-DBI/DBI.pm
(Generate patch)

Comparing AnyEvent-DBI/DBI.pm (file contents):
Revision 1.22 by root, Mon Apr 23 16:31:26 2018 UTC vs.
Revision 1.23 by root, Sat Feb 1 21:43:28 2020 UTC

105and your database handle became invalid. In addition to invoking the 105and your database handle became invalid. In addition to invoking the
106C<on_error> callback, all of your queued request callbacks are called 106C<on_error> callback, all of your queued request callbacks are called
107without only the C<$dbh> argument. 107without only the C<$dbh> argument.
108 108
109If omitted, then C<die> will be called on any errors, fatal or not. 109If omitted, then C<die> will be called on any errors, fatal or not.
110
111Note that AnyEvent::DBI will not catch errors in user-provided callbacks:
112if you die in your callback, things might malfunction.
110 113
111=item on_connect => $callback->($dbh[, $success]) 114=item on_connect => $callback->($dbh[, $success])
112 115
113If you supply an C<on_connect> callback, then this callback will be 116If you supply an C<on_connect> callback, then this callback will be
114invoked after the database connect attempt. If the connection succeeds, 117invoked after the database connect attempt. If the connection succeeds,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines