Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a segfault

  • Loading branch information...
commit fc926383c4378a477bac9726f8241f6417bd8628 1 parent 7187fbe
@moritz moritz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/MiniDBD/SQLite.pm6
View
3  lib/MiniDBD/SQLite.pm6
@@ -124,9 +124,10 @@ class MiniDBD::SQLite::StatementHandle does MiniDBD::StatementHandle {
my @row;
return @row if $!row_status == SQLITE_DONE;
for ^sqlite3_column_count($!statement_handle) {
- @row.push: sqlite3_column_text($!statement_handle);
+ @row.push: sqlite3_column_text($!statement_handle, $_);
}
$!row_status = sqlite3_step($!statement_handle);
+
@row;
}
method fetchrow_arrayref {
Please sign in to comment.
Something went wrong with that request. Please try again.