This commit is contained in:
Jie 2024-12-26 14:29:09 +08:00
commit c2d88355d1

View File

@ -147,9 +147,10 @@ public:
} }
mysql_free_result(mysql_result); mysql_free_result(mysql_result);
return really_result;
} }
return really_result; return std::unexpected(get_error_msg());
} }
std::expected<bool> Execute(std::string_view command){ std::expected<bool> Execute(std::string_view command){