Revert "MXS-3301 Look for "xpand" to find out whether server is Xpand"
This reverts commit 4728730510409fc15d2b3a55fa6e00008651794d. The clustrix -> xpand name change causes too much trouble when merging to 2.5.
This commit is contained in:
@ -1150,10 +1150,9 @@ void Server::VersionInfo::set(uint64_t version, const std::string& version_str)
|
||||
m_version_num.patch = patch;
|
||||
|
||||
careful_strcpy(m_version_str, MAX_VERSION_LEN, version_str);
|
||||
if (strcasestr(version_str.c_str(), "xpand") != NULL
|
||||
|| strcasestr(version_str.c_str(), "clustrix") != NULL)
|
||||
if (strcasestr(version_str.c_str(), "clustrix") != NULL)
|
||||
{
|
||||
m_type = Type::XPAND;
|
||||
m_type = Type::CLUSTRIX;
|
||||
}
|
||||
else if (strcasestr(version_str.c_str(), "mariadb") != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user