mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge branch 'fix-unbundled-build' of https://github.com/qoega/ClickHouse into fix-build-3
This commit is contained in:
commit
746619da45
@ -116,7 +116,7 @@ void Connection::connect(const char* db,
|
||||
throw ConnectionFailed(errorMessage(driver.get()), mysql_errno(driver.get()));
|
||||
|
||||
/// Enables auto-reconnect.
|
||||
my_bool reconnect = true;
|
||||
bool reconnect = true;
|
||||
if (mysql_options(driver.get(), MYSQL_OPT_RECONNECT, reinterpret_cast<const char *>(&reconnect)))
|
||||
throw ConnectionFailed(errorMessage(driver.get()), mysql_errno(driver.get()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user