sqlite: trim all types of valid quote characters on table names
This commit is contained in:
parent
7ef5778d96
commit
422d112d38
1 changed files with 3 additions and 1 deletions
|
@ -90,7 +90,9 @@ public:
|
|||
|
||||
static std::string index_for_table(std::string const& table, std::string const& field)
|
||||
{
|
||||
return "\"idx_" + mapnik::sql_utils::unquote(table) + "_" + field + "\"";
|
||||
std::string table_trimmed = table;
|
||||
dequote(table_trimmed);
|
||||
return "\"idx_" + table_trimmed + "_" + field + "\"";
|
||||
}
|
||||
|
||||
static std::string index_for_db(std::string const& file)
|
||||
|
|
Loading…
Reference in a new issue