修改Query函数返回值

This commit is contained in:
jie 2024-12-24 19:16:08 +08:00
parent c3576fe26d
commit 5fbf0b3033

View File

@ -149,7 +149,7 @@ public:
mysql_free_result(mysql_result); mysql_free_result(mysql_result);
} }
return really_result; return std::unexpected(get_error_msg());
} }
bool Execute(std::string_view command){ bool Execute(std::string_view command){