diff options
author | monty@hundin.mysql.fi <> | 2002-03-22 01:03:34 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-03-22 01:03:34 +0200 |
commit | 70099b2143bf05a6161e69539f456be30fec2487 (patch) | |
tree | 932b64f535192a08e083a9360ec58924df455417 /sql/log_event.h | |
parent | 288f81ce0745ac61f91fc219003081d2f1816c26 (diff) | |
download | mariadb-git-70099b2143bf05a6161e69539f456be30fec2487.tar.gz |
Fix for load data infile when no active database
Fix for Solaris and gethostbyname_r
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 94f7cce0e35..a31c698fae9 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -229,12 +229,13 @@ public: THD* thd; String field_lens_buf; String fields_buf; - Load_log_event(THD* thd, sql_exchange* ex, const char* table_name_arg, + Load_log_event(THD* thd, sql_exchange* ex, + const char *db_arg, const char* table_name_arg, List<Item>& fields_arg, enum enum_duplicates handle_dup ): Log_event(thd->start_time),data_buf(0),thread_id(thd->thread_id), num_fields(0),fields(0),field_lens(0),field_block_len(0), table_name(table_name_arg), - db(thd->db), + db(db_arg), fname(ex->file_name), thd(thd) { |