Skip to content
Snippets Groups Projects
Commit ecd5a235 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong: Committed by Sebastian Listl
Browse files

#1073266-LeadimportSQLSysntaxerror

parent 0ef8e090
No related branches found
No related tags found
No related merge requests found
......@@ -698,7 +698,12 @@ LeadImportUtils.insertTable = function(pDataFields, pDataTypes, pValues, pTable,
TableValues[i] = pValues[Fields[i]];
}
db.insertData(pTable, Fields, Types, TableValues);
if (db.getDatabaseType(vars.getString("$sys.dbalias")) == db.DBTYPE_MARIADB10)
{
pTable = "`" + pTable + "`";
}
db.insertData(pTable, Fields, Types, TableValues);
return pValues[TableID];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment