From 0636da16bf6eaf72b84b9f2a99f173401ac4cbed Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Feb 2003 22:07:26 +0200 Subject: client port number added to SHOW PROCESSLIST (SCRUM?) include/violite.h: port added to reported parameters libmysqld/lib_vio.c: port added to reported parameters sql/sql_class.h: port added to reported parameters sql/sql_parse.cc: port added to reported parameters sql/sql_show.cc: SHOW PROCESSLIST will report port number if it is possible vio/viosocket.c: port added to reported parameters --- sql/sql_class.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index 802052d553a..da341c64d50 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -350,8 +350,9 @@ public: db - currently selected database ip - client IP */ - char *host,*user,*priv_user,*db,*ip; + /* remote (peer) port */ + u_int16_t peer_port; /* Points to info-string that will show in SHOW PROCESSLIST */ const char *proc_info; /* points to host if host is available, otherwise points to ip */ -- cgit v1.2.1 From ce5db86fc0ecae521cfc88c7aecb0dbde53907db Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Feb 2003 20:31:54 +0200 Subject: posreview changing (SCRUM) increased compatibility postmerge changing sql/sql_class.h: increased compatibility sql/sql_show.cc: postmerge changing vio/viosocket.c: increased compatibility --- sql/sql_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index da341c64d50..a8eaf1b200d 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -352,7 +352,7 @@ public: */ char *host,*user,*priv_user,*db,*ip; /* remote (peer) port */ - u_int16_t peer_port; + uint16 peer_port; /* Points to info-string that will show in SHOW PROCESSLIST */ const char *proc_info; /* points to host if host is available, otherwise points to ip */ -- cgit v1.2.1 From be3cfe877c8efee2ba409a0ac190bfb7a9cc9188 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 5 Mar 2003 18:43:56 +0100 Subject: --new option and local variable to optionally turn on "very new functions" - for now 4.1-compatible TIMESTAMT format --- sql/sql_class.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index a8eaf1b200d..f7d9d93a606 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -310,7 +310,8 @@ struct system_variables ulong table_type; my_bool log_warnings; - my_bool low_priority_updates; + my_bool low_priority_updates; + my_bool new_mode; CONVERT *convert_set; }; -- cgit v1.2.1 From 8e62f7f92c5d56a80f365cc878ee5a489acc7b58 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Mar 2003 19:40:49 +0200 Subject: A bug fix for multi-table updates with InnoDB storage engine --- sql/sql_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index f7d9d93a606..f372db079ff 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -831,7 +831,7 @@ class multi_update : public select_result uint table_count; Copy_field *copy_field; enum enum_duplicates handle_duplicates; - bool do_update, trans_safe, transactional_tables, log_delayed; + bool do_update, trans_safe, transactional_tables, log_delayed, on_the_fly; public: multi_update(THD *thd_arg, TABLE_LIST *ut, List *fields, -- cgit v1.2.1 From 294e08c2b03370c8064f955b0a2f3c0fe817f364 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Mar 2003 17:11:48 +0200 Subject: Better fix for "Halloween" effect ... --- sql/sql_class.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index f372db079ff..ad0540de18c 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -823,7 +823,7 @@ class multi_update : public select_result { TABLE_LIST *all_tables, *update_tables, *table_being_updated; THD *thd; - TABLE **tmp_tables, *main_table; + TABLE **tmp_tables, *main_table, *table_to_update; TMP_TABLE_PARAM *tmp_table_param; ha_rows updated, found; List *fields, *values; @@ -831,7 +831,7 @@ class multi_update : public select_result uint table_count; Copy_field *copy_field; enum enum_duplicates handle_duplicates; - bool do_update, trans_safe, transactional_tables, log_delayed, on_the_fly; + bool do_update, trans_safe, transactional_tables, log_delayed; public: multi_update(THD *thd_arg, TABLE_LIST *ut, List *fields, -- cgit v1.2.1