Bug 2399: Follow up removing MySQLisms from ru-RU and uk-UA sample files
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Tue, 3 Apr 2012 18:23:47 +0000 (20:23 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 7 May 2012 20:26:57 +0000 (22:26 +0200)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
installer/data/mysql/ru-RU/authorised_values/authorised_values_[LOST].sql
installer/data/mysql/uk-UA/authorised_values/authorised_values_[LOST].sql

index 0334fdc..be3c9f7 100644 (file)
@@ -1,12 +1,8 @@
 DELETE FROM authorised_values WHERE category='LOST';
 
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Длительная просрочка (утрачено)');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Утрачено');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Потеряны и заплачено за экземпляр');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Отсутствует при запросе на резервирование');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Отсутствует при инвентиризации');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Длительная просрочка (утрачено)');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Утрачено');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Потеряны и заплачено за экземпляр');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Отсутствует при запросе на резервирование');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Отсутствует при инвентиризации');
 
index 3819a1b..6443563 100644 (file)
@@ -1,11 +1,7 @@
 DELETE FROM authorised_values WHERE category='LOST';
 
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Тривале прострочення (втрачено)');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Втрачено');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Втрачено і заплачено за примірник');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Відсутнє при запиті на резервування');
-
-INSERT INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Відсутнє при інвентаризації');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 0,'LOST','2','Тривале прострочення (втрачено)');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 1,'LOST','1','Втрачено');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 2,'LOST','3','Втрачено і заплачено за примірник');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 3,'LOST','5','Відсутнє при запиті на резервування');
+INSERT INTO authorised_values (id, category, authorised_value, lib) VALUES (LAST_INSERT_ID( ) + 4,'LOST','4','Відсутнє при інвентаризації');