Skip to content
Snippets Groups Projects
Commit dcc6887f authored by Leo Gordon's avatar Leo Gordon
Browse files

schema patch_of_a_patch: ignore possible collisions of meta_keys in meta that...

schema patch_of_a_patch: ignore possible collisions of meta_keys in meta that are no longer tolerated in pipeline_wide_parameters.
parent 28d9f160
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@ CREATE TABLE pipeline_wide_parameters (
KEY value_idx (param_name(255))
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
INSERT INTO pipeline_wide_parameters(param_name, param_value) SELECT meta_key, meta_value FROM meta;
-- there may be a collision from 'patch' entries or similar, which are normally not used as pipeline_wide_parameters anyway, so ignore them
INSERT IGNORE INTO pipeline_wide_parameters(param_name, param_value) SELECT meta_key, meta_value FROM meta;
-- UPDATE hive_sql_schema_version
UPDATE hive_meta SET meta_value=57 WHERE meta_key='hive_sql_schema_version' AND meta_value='56';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment