Bugzilla – Attachment 98224 Details for
Bug 21674
Data integrity not enforced for library groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21674: (RM follow-up) Fix updatedatabase error
Bug-21674-RM-follow-up-Fix-updatedatabase-error.patch (text/plain), 930 bytes, created by
Martin Renvoize (ashimema)
on 2020-01-31 11:40:25 UTC
(
hide
)
Description:
Bug 21674: (RM follow-up) Fix updatedatabase error
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-01-31 11:40:25 UTC
Size:
930 bytes
patch
obsolete
>From 1bfff06e9dfd9215f30ed0aea46f58643f2b4e9e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 31 Jan 2020 11:37:55 +0000 >Subject: [PATCH] Bug 21674: (RM follow-up) Fix updatedatabase error > >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 0468db0f71..65c9b18f6c 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -20667,7 +20667,7 @@ if( CheckVersion( $DBversion ) ) { > DELETE FROM library_groups > WHERE id NOT IN ( > SELECT MIN(id) >- FROM library_groups >+ FROM ( SELECT * FROM library_groups ) AS lg > WHERE parent_id IS NOT NULL > GROUP BY parent_id, branchcode > ) >-- >2.20.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 21674
:
96199
|
96200
|
97658
|
97667
|
97811
|
97837
|
97838
|
97839
|
98170
|
98171
|
98172
| 98224