From 371435548660d115477dfe59497dd5ddf9c1d1b4 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 (cherry picked from commit 3a8be8d8e0619e248ee02a851a0f21497d3490a7) Signed-off-by: Chris Nighswonger --- 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 22ee977814..1c730e2c36 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