Bugzilla – Attachment 82267 Details for
Bug 19893
Alternative optimized indexing for Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19893: (QA follow-up) Convert atomicupdate to .perl
Bug-19893-QA-follow-up-Convert-atomicupdate-to-per.patch (text/plain), 2.26 KB, created by
Martin Renvoize (ashimema)
on 2018-11-13 11:32:19 UTC
(
hide
)
Description:
Bug 19893: (QA follow-up) Convert atomicupdate to .perl
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-11-13 11:32:19 UTC
Size:
2.26 KB
patch
obsolete
>From f2192b12af5022784f9fd6a8fe0123573996cc83 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 13 Nov 2018 11:23:11 +0000 >Subject: [PATCH] Bug 19893: (QA follow-up) Convert atomicupdate to .perl > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > ...bug_19893_elasticsearch_index_status_sysprefs.perl | 11 +++++++++++ > .../bug_19893_elasticsearch_index_status_sysprefs.sql | 2 -- > 2 files changed, 11 insertions(+), 2 deletions(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.perl > delete mode 100644 installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.perl b/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.perl >new file mode 100644 >index 0000000000..ed95da0f05 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.perl >@@ -0,0 +1,11 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if ( CheckVersion($DBversion) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO `systempreferences` (`variable`,`value`,`explanation`,`options`,`type`) VALUES >+ ('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL), >+ ('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL) >+ }); >+ >+ SetVersion($DBversion); >+ print "Upgrade to $DBversion done (Bug 19893 - Add elasticsearch index status preferences)\n"; >+} >diff --git a/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.sql b/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.sql >deleted file mode 100644 >index 2412bcbc18..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_19893_elasticsearch_index_status_sysprefs.sql >+++ /dev/null >@@ -1,2 +0,0 @@ >-INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL); >-INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL); >-- >2.19.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 19893
:
70199
|
70200
|
70201
|
70202
|
70230
|
70325
|
73153
|
75109
|
75271
|
75272
|
75353
|
75428
|
75455
|
75588
|
75658
|
75660
|
76612
|
76613
|
76614
|
76629
|
78091
|
78092
|
78093
|
78094
|
78524
|
78561
|
78587
|
78588
|
78589
|
78590
|
78591
|
78592
|
78593
|
78594
|
78690
|
78691
|
78692
|
78693
|
78694
|
78695
|
78696
|
80969
|
80970
|
80971
|
80983
|
81014
|
81015
|
81284
|
81822
|
81901
|
81903
|
81955
|
81957
|
81958
|
81959
|
81960
|
81961
|
81962
|
81963
|
81964
|
81965
|
81966
|
82143
|
82144
|
82145
|
82146
|
82147
|
82148
|
82149
|
82150
|
82151
|
82152
|
82256
|
82257
|
82258
|
82259
|
82260
|
82261
|
82262
|
82263
|
82264
|
82265
|
82266
| 82267