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.17 by root, Tue Aug 15 07:28:55 2017 UTC vs.
Revision 1.20 by root, Sat Mar 24 23:22:25 2018 UTC

68use AnyEvent (); 68use AnyEvent ();
69use AnyEvent::Util (); 69use AnyEvent::Util ();
70 70
71use Errno (); 71use Errno ();
72 72
73our $VERSION = '3.0'; 73our $VERSION = '3.02';
74 74
75=head2 METHODS 75=head2 METHODS
76 76
77=over 4 77=over 4
78 78
186 # available, even before the forked process exsist. 186 # available, even before the forked process exsist.
187 # this is mostly done so this module is compatible 187 # this is mostly done so this module is compatible
188 # to versions of itself older than 3.0. 188 # to versions of itself older than 3.0.
189 my ($client, $server) = AnyEvent::Util::portable_socketpair 189 my ($client, $server) = AnyEvent::Util::portable_socketpair
190 or croak "unable to create AnyEvent::DBI communications pipe: $!"; 190 or croak "unable to create AnyEvent::DBI communications pipe: $!";
191
192 AnyEvent::fh_unblock $client;
191 193
192 my $fork = delete $arg{fork_template}; 194 my $fork = delete $arg{fork_template};
193 195
194 my %dbi_args = %arg; 196 my %dbi_args = %arg;
195 delete @dbi_args{qw(on_connect on_error timeout fork_template exec_server)}; 197 delete @dbi_args{qw(on_connect on_error timeout fork_template exec_server)};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines