mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into bodhi.(none):/opt/local/work/mysql-5.1-12713-new sql/handler.cc: Auto merged sql/log.cc: Auto merged
This commit is contained in:
@@ -561,7 +561,7 @@ static my_bool closecon_handlerton(THD *thd, plugin_ref plugin,
|
||||
be rolled back already
|
||||
*/
|
||||
if (hton->state == SHOW_OPTION_YES && hton->close_connection &&
|
||||
thd->ha_data[hton->slot])
|
||||
thd_get_ha_data(thd, hton))
|
||||
hton->close_connection(hton, thd);
|
||||
return FALSE;
|
||||
}
|
||||
@@ -1509,7 +1509,7 @@ void handler::ha_statistic_increment(ulong SSV::*offset) const
|
||||
|
||||
void **handler::ha_data(THD *thd) const
|
||||
{
|
||||
return (void **) thd->ha_data + ht->slot;
|
||||
return thd_ha_data(thd, ht);
|
||||
}
|
||||
|
||||
THD *handler::ha_thd(void) const
|
||||
|
||||
Reference in New Issue
Block a user