Commit 03820df9 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Do not buffer the resultset (only tested with MySQL)

parent f358446d
......@@ -105,6 +105,7 @@ sub _get_rowcount_bound {
$inputquery .= " LIMIT $maxrow" unless $inputquery =~ /LIMIT/i;
my $sth = $self->data_dbc()->prepare($inputquery);
$sth->{mysql_use_result} = 1 if $self->data_dbc->driver eq 'mysql';
$sth->execute();
my $nrow = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment