Merge pull request #1011 from holmes1412/master

MySQL : check NEWDECIMAL as string
This commit is contained in:
xiehan
2022-08-04 18:35:17 +08:00
committed by GitHub
+1
View File
@@ -265,6 +265,7 @@ inline std::string MySQLCell::as_datetime() const
inline bool MySQLCell::is_string() const
{
return (this->data_type == MYSQL_TYPE_DECIMAL ||
this->data_type == MYSQL_TYPE_NEWDECIMAL ||
this->data_type == MYSQL_TYPE_STRING ||
this->data_type == MYSQL_TYPE_VARCHAR ||
this->data_type == MYSQL_TYPE_VAR_STRING ||