fixed stupid copy paste error that caused all the fields to have the same type
work rleated to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
This commit is contained in:
parent
ca1f4c1a88
commit
5337c41645
|
@ -30,9 +30,9 @@ class SqlResultsTable(IResultsTable):
|
|||
param: BenchParam
|
||||
sql_field_type = {
|
||||
BenchParam.Type.PARAM_TYPE_FLOAT: SqlTableField.Type.FIELD_TYPE_FLOAT,
|
||||
BenchParam.Type.PARAM_TYPE_INT: SqlTableField.Type.FIELD_TYPE_FLOAT,
|
||||
BenchParam.Type.PARAM_TYPE_STRING: SqlTableField.Type.FIELD_TYPE_FLOAT,
|
||||
BenchParam.Type.PARAM_TYPE_TIME: SqlTableField.Type.FIELD_TYPE_FLOAT,
|
||||
BenchParam.Type.PARAM_TYPE_INT: SqlTableField.Type.FIELD_TYPE_INT,
|
||||
BenchParam.Type.PARAM_TYPE_STRING: SqlTableField.Type.FIELD_TYPE_STRING,
|
||||
BenchParam.Type.PARAM_TYPE_TIME: SqlTableField.Type.FIELD_TYPE_TIME,
|
||||
}[param.param_type]
|
||||
fields.append(SqlTableField(param.name, sql_field_type, param.description))
|
||||
self.sql_backend.create_table(table_name, fields)
|
||||
|
|
Loading…
Reference in New Issue