From 19b566d4c28dd7b2e9e845dee41993cd3ca040c8 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 20 Mar 2018 15:42:37 +0100 Subject: [PATCH] Fix cluster id_os bug - #2090 --- pandora_console/extras/mr/14.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pandora_console/extras/mr/14.sql diff --git a/pandora_console/extras/mr/14.sql b/pandora_console/extras/mr/14.sql new file mode 100644 index 0000000000..46e66e3ab5 --- /dev/null +++ b/pandora_console/extras/mr/14.sql @@ -0,0 +1,7 @@ +START TRANSACTION; + +UPDATE `tagente` SET `id_os` = 100 WHERE `id_os` = 21 and (select `id_os` from `tconfig_os` WHERE `id_os` = 21 and `name` = 'Cluster'); + +DELETE FROM `tconfig_os` where `id_os` = 21 and `name` = 'Cluster'; + +COMMIT; \ No newline at end of file