Skip to content

Commit

Permalink
fixup! Allow for very large Integers
Browse files Browse the repository at this point in the history
  • Loading branch information
rbt committed Nov 23, 2022
1 parent 24bb06f commit aed7e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBDish/mysql/StatementHandle.rakumod
Expand Up @@ -117,7 +117,7 @@ method execute(*@params --> DBDish::StatementHandle) {
when Blob { $st = MYSQL_TYPE_BLOB; $_ }
when Str { .encode }
when Int {
when $_ >= 2^63 {$_}
when $_ >= 2^63 { .encode }
when $_ < 0 {
$st = MYSQL_TYPE_LONGLONG;
Blob[int64].new($_);
Expand Down

0 comments on commit aed7e69

Please sign in to comment.