Skip to content
Permalink
Browse files

fixed: 0008879: Failure on index creation

  • Loading branch information
fmancardi committed Mar 11, 2020
1 parent 36df67c commit f76ec4bd460c67aac1f3f103370223e5e925de78
@@ -67,7 +67,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_context (
end_exec_ts timestamp NOT NULL,
creation_ts timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id),
UNIQUE KEY udx1 (testplan_id,platform_id,creation_ts)
UNIQUE KEY /*prefix*/udx1_details (testplan_id,platform_id,creation_ts)
) DEFAULT CHARSET=utf8;


@@ -80,7 +80,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_details (
qty int(10) unsigned NOT NULL DEFAULT '0',
total_tc int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY udx1 (context_id,top_tsuite_id,child_tsuite_id,status)
UNIQUE KEY /*prefix*/udx1_details (context_id,top_tsuite_id,child_tsuite_id,status)
) DEFAULT CHARSET=utf8;

#
@@ -42,7 +42,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_context (
"creation_ts" timestamp NOT NULL DEFAULT now(),
PRIMARY KEY ("id")
);
CREATE UNIQUE INDEX /*prefix*/udx1 ON /*prefix*/baseline_l1l2_context ("testplan_id","platform_id","creation_ts");
CREATE UNIQUE INDEX /*prefix*/udx1_context ON /*prefix*/baseline_l1l2_context ("testplan_id","platform_id","creation_ts");


CREATE TABLE /*prefix*/baseline_l1l2_details (
@@ -55,7 +55,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_details (
"total_tc" INT NOT NULL DEFAULT '0',
PRIMARY KEY ("id")
) ;
CREATE UNIQUE INDEX /*prefix*/udx1
CREATE UNIQUE INDEX /*prefix*/udx1_details
ON /*prefix*/baseline_l1l2_details ("context_id","top_tsuite_id","child_tsuite_id","status");


@@ -806,7 +806,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_context (
end_exec_ts timestamp NOT NULL,
creation_ts timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id),
UNIQUE KEY udx1 (testplan_id,platform_id,creation_ts)
UNIQUE KEY udx1_context (testplan_id,platform_id,creation_ts)
) DEFAULT CHARSET=utf8;


@@ -819,7 +819,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_details (
qty int(10) unsigned NOT NULL DEFAULT '0',
total_tc int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY udx1 (context_id,top_tsuite_id,child_tsuite_id,status)
UNIQUE KEY udx1_details (context_id,top_tsuite_id,child_tsuite_id,status)
) DEFAULT CHARSET=utf8;


@@ -925,7 +925,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_context (
"creation_ts" timestamp NOT NULL DEFAULT now(),
PRIMARY KEY ("id")
);
CREATE UNIQUE INDEX /*prefix*/udx1 ON /*prefix*/baseline_l1l2_context ("testplan_id","platform_id","creation_ts");
CREATE UNIQUE INDEX /*prefix*/udx1_context ON /*prefix*/baseline_l1l2_context ("testplan_id","platform_id","creation_ts");


CREATE TABLE /*prefix*/baseline_l1l2_details (
@@ -938,7 +938,7 @@ CREATE TABLE /*prefix*/baseline_l1l2_details (
"total_tc" INT unsigned NOT NULL DEFAULT '0',
PRIMARY KEY ("id")
) ;
CREATE UNIQUE INDEX /*prefix*/udx1
CREATE UNIQUE INDEX /*prefix*/udx1_details
ON /*prefix*/baseline_l1l2_details ("context_id","top_tsuite_id","child_tsuite_id","status");


0 comments on commit f76ec4b

Please sign in to comment.
You can’t perform that action at this time.