From 3a8be8d8e0619e248ee02a851a0f21497d3490a7 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Wed, 6 Apr 2011 16:39:36 +0200 Subject: [PATCH] Bug 6028 : MT3815: Quickfix for CSV export (9999 rows limitation) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Delaune Signed-off-by: Chris Cormack --- C4/Reports/Guided.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 72314576eb..0da7c13e62 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -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} ); -- 2.39.5