1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Build fixes to make it compile.

sql/handler.cc:
  Build fixes.
sql/log_event.cc:
  Build fixes.
This commit is contained in:
unknown
2004-11-12 11:37:59 +01:00
parent 0265f48bfd
commit c3531618f1
2 changed files with 3 additions and 2 deletions

View File

@@ -1362,7 +1362,8 @@ int Query_log_event::exec_event(struct st_relay_log_info* rli)
Thank you.
*/
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_offset= auto_increment_offset;