summaryrefslogtreecommitdiff
path: root/storage/connect/mycat.cc
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2021-05-17 19:17:31 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2021-05-17 19:17:31 +0200
commit17533c1ffc018b410d5fe01a54c225d4fc7f75cd (patch)
treef01e5dad541de2e59656396ef3033d2a8fa5142c /storage/connect/mycat.cc
parent5ae67c6d6387fa6e5c207fd9aea6741fb78073a5 (diff)
downloadmariadb-git-17533c1ffc018b410d5fe01a54c225d4fc7f75cd.tar.gz
- Put all jar files in the SHARE directory (was PLUGIN)
modified: sql/mysqld.h modified: storage/connect/CMakeLists.txt modified: storage/connect/javaconn.cpp modified: storage/connect/mycat.cc modified: storage/connect/mycat.h - Get a handled on a not pooled client This to avoid a .50 delay when closing modified: storage/connect/cmgoconn.cpp modified: storage/connect/cmgoconn.h - Allow FIELD_FORMAT options for DECIMAL type modified: storage/connect/tabdos.cpp - Update tests and result to reflect last changes Also because Oracle password has changed modified: storage/connect/mysql-test/connect/r/jdbc_oracle.result modified: storage/connect/mysql-test/connect/r/json_java_2.result modified: storage/connect/mysql-test/connect/r/json_java_3.result modified: storage/connect/mysql-test/connect/r/json_mongo_c.result modified: storage/connect/mysql-test/connect/r/mongo_c.result modified: storage/connect/mysql-test/connect/r/odbc_oracle.result modified: storage/connect/mysql-test/connect/t/jdbc_oracle.test modified: storage/connect/mysql-test/connect/t/odbc_oracle.test - Typo modified: storage/connect/reldef.cpp
Diffstat (limited to 'storage/connect/mycat.cc')
-rw-r--r--storage/connect/mycat.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/connect/mycat.cc b/storage/connect/mycat.cc
index e3fa00e119f..4a7e65eb01f 100644
--- a/storage/connect/mycat.cc
+++ b/storage/connect/mycat.cc
@@ -124,6 +124,15 @@ char *GetPluginDir(void)
} // end of GetPluginDir
/***********************************************************************/
+/* Get the lc_messages_dir, it is where error messages for various */
+/* languages are installed, and by default the INSTALL_MYSQLSHAREDIR. */
+/***********************************************************************/
+char *GetMessageDir(void)
+{
+ return lc_messages_dir;
+} // end of GetMessageDir
+
+/***********************************************************************/
/* Get a unique enum table type ID. */
/***********************************************************************/
TABTYPE GetTypeID(const char *type)