Skip to content

Commit

Permalink
mysql: use proper unsigned types
Browse files Browse the repository at this point in the history
requires very latest rakudo (at least 2015.03-159-g4afc9e9) to work
  • Loading branch information
moritz committed Apr 4, 2015
1 parent 1f98835 commit eb14b62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/DBDish/mysql.pm6
Expand Up @@ -32,7 +32,7 @@ sub mysql_fetch_row( OpaquePointer $result_set )
{ ... }

sub mysql_field_count( OpaquePointer $mysql_client )
returns Int # XXX should be unsigned int
returns uint32
is native('libmysqlclient')
{ ... }

Expand All @@ -46,7 +46,7 @@ sub mysql_init( OpaquePointer $mysql_client )
{ ... }

sub mysql_insert_id( OpaquePointer $mysql_client )
returns Int # XXX should be unsigned long long
returns uint64
is native('libmysqlclient')
{ ... }

Expand All @@ -72,7 +72,7 @@ sub mysql_use_result( OpaquePointer $mysql_client )
{ ... }

sub mysql_warning_count( OpaquePointer $mysql_client )
returns Int # XXX should be unsigned int
returns uint32
is native('libmysqlclient')
{ ... }

Expand Down

0 comments on commit eb14b62

Please sign in to comment.