1
0
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:
David Hall
2020-05-26 12:42:11 -05:00
parent 11ba12f6ea
commit 06e50e0926
47 changed files with 516 additions and 535 deletions

View File

@@ -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();