summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-22 01:03:34 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-22 01:03:34 +0200
commita333c33f7e19ce0bc230ca32ce25063640df84cd (patch)
tree932b64f535192a08e083a9360ec58924df455417 /sql/log_event.h
parentb70f53b28940008233995d885584c2e0984e3bf4 (diff)
downloadmariadb-git-a333c33f7e19ce0bc230ca32ce25063640df84cd.tar.gz
Fix for load data infile when no active database
Fix for Solaris and gethostbyname_r Docs/manual.texi: Changelog client/mysql.cc: Cleanup configure.in: Fix for Solaris and gethostbyname_r sql/log_event.h: Fix for load data infile when no active database sql/sql_load.cc: Fix for load data infile when no active database
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h5
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)
{