From 0c99c3a30a4ebe2ef18db1a6d1e48a99ef7ea0b6 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 7 Dec 2018 10:19:44 +0100 Subject: [PATCH] Bug 21908: (QA follow-up) Remove useless parentheses in query Signed-off-by: Julian Maurice Signed-off-by: Nick Clemens (cherry picked from commit 875f3162c8008ef288adfcd18ada490cf06ecc15) Signed-off-by: Martin Renvoize --- misc/migration_tools/rebuild_zebra.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index c193d62e9e..a79e7a866a 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -476,7 +476,7 @@ sub select_all_authorities { sub select_all_biblios { $table = 'biblioitems' unless grep { /^$table$/ } @tables_allowed_for_select; - my $strsth = qq{ SELECT DISTINCT(biblionumber) FROM $table }; + my $strsth = qq{ SELECT DISTINCT biblionumber FROM $table }; $strsth.=qq{ WHERE $where } if ($where); $strsth.=qq{ LIMIT $length } if ($length && !$offset); $strsth.=qq{ LIMIT $offset,$length } if ($offset); -- 2.39.5