diff --git a/iprbench/resultsdb/sqlresultsdb.py b/iprbench/resultsdb/sqlresultsdb.py index 144da8d..7bdd447 100644 --- a/iprbench/resultsdb/sqlresultsdb.py +++ b/iprbench/resultsdb/sqlresultsdb.py @@ -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)