summaryrefslogtreecommitdiffstats
path: root/non-puppet/qtmetrics2/testparser.pl
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2017-01-26 09:29:07 +0200
committerTarja Sundqvist <tarja.sundqvist@qt.io>2017-01-31 08:06:23 +0000
commitc1c2fff6bc644e45dbddc787d487863b62d2b415 (patch)
tree0c98dfd91b47ff969a5a012a39fac098b6a36093 /non-puppet/qtmetrics2/testparser.pl
parent297dc21ca220cc830c4fe33795451250b0b70aad (diff)
Modify conf and compiler column values for Coin
Conf table: * name column length changed from 100 -> 200 Compiler table: * id column type changed from tinyint unsigned -> int unsigned Testparser.pl is used for generate SQL database for Coin build and test logs. Configuration names and compiler ids on Coin are sometimes longer than the current column lenghts. Change-Id: I310c4be5bf3c006141000526c81c05d2fd51f54e Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'non-puppet/qtmetrics2/testparser.pl')
-rw-r--r--non-puppet/qtmetrics2/testparser.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/non-puppet/qtmetrics2/testparser.pl b/non-puppet/qtmetrics2/testparser.pl
index fb9aea8..899811a 100644
--- a/non-puppet/qtmetrics2/testparser.pl
+++ b/non-puppet/qtmetrics2/testparser.pl
@@ -1269,7 +1269,7 @@ sub sql_create_tables
$dbh->do (
"CREATE TABLE IF NOT EXISTS compiler (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
+ id INT UNSIGNED NOT NULL AUTO_INCREMENT,
compiler VARCHAR(20) NULL DEFAULT NULL,
UNIQUE INDEX unique_compiler (compiler),
CONSTRAINT compiler_pk PRIMARY KEY (id)
@@ -1283,7 +1283,7 @@ sub sql_create_tables
target_id SMALLINT UNSIGNED NOT NULL,
host_compiler_id TINYINT UNSIGNED NOT NULL,
target_compiler_id TINYINT UNSIGNED NOT NULL,
- name VARCHAR(100) NOT NULL,
+ name VARCHAR(200) NOT NULL,
features VARCHAR(100) NULL DEFAULT NULL,
UNIQUE INDEX unique_conf (name),
CONSTRAINT conf_pk PRIMARY KEY (id)