mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Build fixes to make it compile.
This commit is contained in:
parent
1d8a6a06a5
commit
b95560a8fc
2 changed files with 3 additions and 2 deletions
|
@ -656,7 +656,7 @@ int ha_rollback_trans(THD *thd, THD_TRANS *trans)
|
||||||
}
|
}
|
||||||
thd->variables.tx_isolation=thd->session_tx_isolation;
|
thd->variables.tx_isolation=thd->session_tx_isolation;
|
||||||
if (operation_done)
|
if (operation_done)
|
||||||
statistic_increment(ha_rollback_count,&LOCK_status);
|
statistic_increment(thd->status_var.ha_rollback_count,&LOCK_status);
|
||||||
thd->proc_info= save_proc_info;
|
thd->proc_info= save_proc_info;
|
||||||
}
|
}
|
||||||
#endif /* USING_TRANSACTIONS */
|
#endif /* USING_TRANSACTIONS */
|
||||||
|
|
|
@ -1362,7 +1362,8 @@ int Query_log_event::exec_event(struct st_relay_log_info* rli)
|
||||||
Thank you.
|
Thank you.
|
||||||
*/
|
*/
|
||||||
thd->catalog= (char*) catalog;
|
thd->catalog= (char*) catalog;
|
||||||
thd->db= (char*) rewrite_db(db); // thd->db_length is set later if needed
|
thd->db_length= db_len;
|
||||||
|
thd->db= (char*) rewrite_db(db, &thd->db_length);
|
||||||
thd->variables.auto_increment_increment= auto_increment_increment;
|
thd->variables.auto_increment_increment= auto_increment_increment;
|
||||||
thd->variables.auto_increment_offset= auto_increment_offset;
|
thd->variables.auto_increment_offset= auto_increment_offset;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue