You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-4144 Enable lower_case_table_names
Create tables and schemas with lower case name only if the flag is set. During operations, convert to lowercase in plugin. Byt the time a query gets to ExeMgr, DDLProc etc., everything must be lower case if the flag is set, and undisturbed if not.
This commit is contained in:
@@ -1877,6 +1877,11 @@ std::string ha_mcs_impl_viewtablelock( cal_impl_if::cal_connection_info& ci, ex
|
||||
std::string dmlStatement( "VIEWTABLELOCK" );
|
||||
VendorDMLStatement cmdStmt(dmlStatement, DML_COMMAND, sessionID);
|
||||
pDMLPackage = CalpontDMLFactory::makeCalpontDMLPackageFromMysqlBuffer(cmdStmt);
|
||||
if (lower_case_table_names)
|
||||
{
|
||||
boost::algorithm::to_lower(tablename.schema);
|
||||
boost::algorithm::to_lower(tablename.table);
|
||||
}
|
||||
pDMLPackage->set_SchemaName (tablename.schema);
|
||||
pDMLPackage->set_TableName (tablename.table);
|
||||
|
||||
|
Reference in New Issue
Block a user