修改Query函数返回值
This commit is contained in:
parent
c3576fe26d
commit
5fbf0b3033
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user