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

Comparing Coro-Mysql/Mysql.pm (file contents):
Revision 1.11 by root, Sun Feb 20 10:35:10 2011 UTC vs.
Revision 1.12 by root, Thu Jul 26 21:38:00 2012 UTC

100 100
101sub readable { &Coro::Handle::FH::readable } 101sub readable { &Coro::Handle::FH::readable }
102sub writable { &Coro::Handle::FH::writable } 102sub writable { &Coro::Handle::FH::writable }
103 103
104BEGIN { 104BEGIN {
105 our $VERSION = '1.1'; 105 our $VERSION = '1.2';
106 106
107 require XSLoader; 107 require XSLoader;
108 XSLoader::load Coro::Mysql::, $VERSION; 108 XSLoader::load Coro::Mysql::, $VERSION;
109} 109}
110 110
140 if (AnyEvent::detect ne "AnyEvent::Impl::EV" || !_use_ev) { 140 if (AnyEvent::detect ne "AnyEvent::Impl::EV" || !_use_ev) {
141 require Coro::Handle; 141 require Coro::Handle;
142 $fh = Coro::Handle::unblock ($fh); 142 $fh = Coro::Handle::unblock ($fh);
143 } 143 }
144 144
145 _patch $sock, $DBH->{sockfd}, $fh, tied ${$fh}; 145 _patch $sock, $DBH->{sockfd}, $DBH->{mysql_clientversion}, $fh, tied ${$fh};
146 } 146 }
147 147
148 $DBH 148 $DBH
149} 149}
150 150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines