Bug 6028 : MT3815: Quickfix for CSV export (9999 rows limitation)
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
332e701c25
commit
3a8be8d8e0
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ sub execute_query ($;$$$) {
|
|||
return;
|
||||
}
|
||||
$offset = 0 unless $offset;
|
||||
$limit = 9999 unless $limit;
|
||||
$limit = 999999 unless $limit;
|
||||
$debug and print STDERR "execute_query($sql, $offset, $limit)\n";
|
||||
if ($sql =~ /;?\W?(UPDATE|DELETE|DROP|INSERT|SHOW|CREATE)\W/i) {
|
||||
return (undef, { sqlerr => $1} );
|
||||
|
|
Loading…
Reference in a new issue