mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +01:00
Update SessionHandle.cpp
This commit is contained in:
parent
0cdb18af25
commit
8b686330da
2
vendor/POCO/Data/MySQL/src/SessionHandle.cpp
vendored
2
vendor/POCO/Data/MySQL/src/SessionHandle.cpp
vendored
@ -183,7 +183,7 @@ void SessionHandle::rollback()
|
|||||||
|
|
||||||
void SessionHandle::reset()
|
void SessionHandle::reset()
|
||||||
{
|
{
|
||||||
#if defined(HAVE_MYSQL_RESET_CONNECTION) && (((defined (MYSQL_VERSION_ID)) && (MYSQL_VERSION_ID >= 50700)) || ((defined (MARIADB_PACKAGE_VERSION_ID)) && (MARIADB_PACKAGE_VERSION_ID >= 30000)))
|
#if ((POCO_OS == POCO_OS_LINUX) && defined (HAVE_MYSQL_RESET_CONNECTION)) && (((defined (MYSQL_VERSION_ID)) && (MYSQL_VERSION_ID >= 50700)) || ((defined (MARIADB_PACKAGE_VERSION_ID)) && (MARIADB_PACKAGE_VERSION_ID >= 30000)))
|
||||||
if (mysql_reset_connection(_pHandle) != 0)
|
if (mysql_reset_connection(_pHandle) != 0)
|
||||||
#else
|
#else
|
||||||
if (mysql_refresh(_pHandle, REFRESH_TABLES | REFRESH_STATUS | REFRESH_THREADS | REFRESH_READ_LOCK) != 0)
|
if (mysql_refresh(_pHandle, REFRESH_TABLES | REFRESH_STATUS | REFRESH_THREADS | REFRESH_READ_LOCK) != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user