Skip to content

Commit

Permalink
Fixed InnoDB to not use broken thd_ha_data()
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vojtovich committed May 16, 2019
1 parent 796486d commit 8a880d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/handler/ha_innodb.cc
Expand Up @@ -1909,7 +1909,7 @@ thd_innodb_tmpdir(
@return reference to transaction pointer */
static trx_t* thd_to_trx(THD* thd)
{
return *reinterpret_cast<trx_t**>(thd_ha_data(thd, innodb_hton_ptr));
return reinterpret_cast<trx_t*>(thd_get_ha_data(thd, innodb_hton_ptr));
}

#ifdef WITH_WSREP
Expand Down

0 comments on commit 8a880d6

Please sign in to comment.