10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix parenthesis

This commit is contained in:
Mickaël Véril 2020-01-06 09:45:42 +01:00
parent 6addc32215
commit f817d7329f

View File

@ -237,7 +237,7 @@ class dataFileBase {
var hasType=vals.length>=7 && isNaN(vals[6]) var hasType=vals.length>=7 && isNaN(vals[6])
var type=((vals.length>=7 && hasType) ? vals[6] : null) var type=((vals.length>=7 && hasType) ? vals[6] : null)
if(type) { if(type) {
const m=type.match(/^{([^\}]*)}$/) const m=type.match(/^\(([^\)]*)\)$/)
if (m) { if (m) {
type=m[1] type=m[1]
} }