mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-9350-perdida-de-sincronizacion-en-modo-centralizado-y-duplicado-de-metaconsole_node_id' into 'develop'
fixed error metaconsole_node_id pandora_enterprise#9350 See merge request artica/pandorafms!5056
This commit is contained in:
commit
fe4e27018c
6
pandora_console/extras/mr/57.sql
Normal file
6
pandora_console/extras/mr/57.sql
Normal file
@ -0,0 +1,6 @@
|
||||
START TRANSACTION;
|
||||
|
||||
SET @id_config := (SELECT id_config FROM tconfig WHERE `token` = 'metaconsole_node_id' AND `value` IS NOT NULL ORDER BY id_config DESC LIMIT 1);
|
||||
DELETE FROM tconfig WHERE `token` = 'metaconsole_node_id' AND (id_config < @id_config OR `value` IS NULL);
|
||||
|
||||
COMMIT;
|
Loading…
x
Reference in New Issue
Block a user