You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-2225 Make cross-engine step use backticks
If an InnoDB table has spaces in the column names the cross engine step would fail. This patch wraps quotes around the table and column names to support this use case.
This commit is contained in:
@ -211,9 +211,9 @@ const string SimpleColumn::data() const
|
||||
if (!fData.empty())
|
||||
return fData;
|
||||
else if (!fTableAlias.empty())
|
||||
return string(fSchemaName + '.' + fTableAlias + '.' + fColumnName);
|
||||
return string("`" + fSchemaName + "`.`" + fTableAlias + "`.`" + fColumnName + "`");
|
||||
|
||||
return string(fSchemaName + '.' + fTableName + '.' + fColumnName);
|
||||
return string("`" + fSchemaName + "`.`" + fTableName + "`.`" + fColumnName + "`");
|
||||
}
|
||||
|
||||
SimpleColumn& SimpleColumn::operator=(const SimpleColumn& rhs)
|
||||
|
Reference in New Issue
Block a user