Bugzilla – Attachment 82954 Details for
Bug 21908
biblio_metadata is missing from the rebuild_zebra.pl tables list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21908: (QA follow-up) Remove useless parentheses in query
Bug-21908-QA-follow-up-Remove-useless-parentheses-.patch (text/plain), 1.06 KB, created by
Julian Maurice
on 2018-12-07 09:38:20 UTC
(
hide
)
Description:
Bug 21908: (QA follow-up) Remove useless parentheses in query
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-12-07 09:38:20 UTC
Size:
1.06 KB
patch
obsolete
>From 9ab7c737c023c6137e87ed9f208978a23eec8524 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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 <julian.maurice@biblibre.com> >--- > 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.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21908
:
82723
|
82724
|
82817
|
82818
|
82819
|
82952
|
82953
| 82954