mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Cleanup: removing Type_handler members m_version_xxx
Introducing methods instead: const Name version_mysql56() const; const Name version_mariadb53() const; This is needed to avoid exporting members with MYSQL_PLUGIN_IMPORT, which would be needed to compile data type plugins on Windows.
This commit is contained in:
@@ -1475,10 +1475,23 @@ const Name Type_handler_ulonglong::name() const
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
const Name
|
||||
Type_handler::m_version_default(STRING_WITH_LEN("")),
|
||||
Type_handler::m_version_mariadb53(STRING_WITH_LEN("mariadb-5.3")),
|
||||
Type_handler::m_version_mysql56(STRING_WITH_LEN("mysql-5.6"));
|
||||
const Name Type_handler::version() const
|
||||
{
|
||||
static const Name ver(STRING_WITH_LEN(""));
|
||||
return ver;
|
||||
}
|
||||
|
||||
const Name Type_handler::version_mariadb53() const
|
||||
{
|
||||
static const Name ver(STRING_WITH_LEN("mariadb-5.3"));
|
||||
return ver;
|
||||
}
|
||||
|
||||
const Name Type_handler::version_mysql56() const
|
||||
{
|
||||
static const Name ver(STRING_WITH_LEN("mysql-5.6"));
|
||||
return ver;
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user