Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mysql: fix a signature
mysql_close returns void, not a pointer
  • Loading branch information
moritz committed Apr 3, 2015
1 parent 28eb16d commit d588ad9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/DBDish/mysql.pm6
@@ -1,6 +1,6 @@
# DBDish::mysql.pm6

use NativeCall; # from project 'zavolaj'
use NativeCall;
use DBDish; # roles for drivers

#module DBDish:auth<mberends>:ver<0.0.1>;
Expand All @@ -13,7 +13,6 @@ sub mysql_affected_rows( OpaquePointer $mysql_client )
{ ... }

sub mysql_close( OpaquePointer $mysql_client )
returns OpaquePointer
is native('libmysqlclient')
{ ... }

Expand Down

0 comments on commit d588ad9

Please sign in to comment.