Using uint32_t as reconnect value
This commit is contained in:
parent
0cd49a6a2b
commit
c1085c84cf
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user