mirror of
https://github.com/sogou/workflow.git
synced 2026-10-21 22:56:42 +08:00
Merge pull request #1011 from holmes1412/master
MySQL : check NEWDECIMAL as string
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user