You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-24 08:41:09 +03:00
MCOL-3536 collation
This commit is contained in:
@@ -102,31 +102,8 @@ int main(int argc, char** argv)
|
||||
setuid(0); // set effective ID to root; ignore return status
|
||||
#endif
|
||||
// Set locale language
|
||||
const char* pLoc = utf8::idb_setlocale();
|
||||
try
|
||||
{
|
||||
logging::LoggingID lid(17); // ProcessManager
|
||||
logging::MessageLog ml(lid);
|
||||
logging::Message msg(1);
|
||||
logging::Message::Args args;
|
||||
if (pLoc)
|
||||
{
|
||||
// Log one line
|
||||
args.add("Set locale to ");
|
||||
args.add(pLoc);
|
||||
msg.format( args );
|
||||
}
|
||||
else
|
||||
{
|
||||
args.add("Failed to set locale ");
|
||||
msg.format( args );
|
||||
}
|
||||
ml.logErrorMessage(msg);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
// Ignoring for time being.
|
||||
}
|
||||
setlocale(LC_ALL, "");
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
|
||||
idbdatafile::IDBPolicy::configIDBPolicy();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user