Using uint32_t as reconnect value
This commit is contained in:
@@ -213,7 +213,7 @@ result MySQLManager::connect(const std::string &url) {
|
||||
return {-1, "failed to allocate connection " + to_string(index)};
|
||||
|
||||
{
|
||||
bool reconnect{true};
|
||||
uint32_t reconnect{true};
|
||||
mysql_options(connection->handle, MYSQL_OPT_RECONNECT, &reconnect);
|
||||
}
|
||||
mysql_options(connection->handle, MYSQL_SET_CHARSET_NAME, "utf8");
|
||||
|
||||
Reference in New Issue
Block a user