summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-09-27 12:01:26 +0300
committerunknown <monty@hundin.mysql.fi>2002-09-27 12:01:26 +0300
commit9dd4e2b2449021c7f635599920263db3ec4bf4d5 (patch)
tree13a0ead55d343c4e5286acdbd4dbb57a05eedec1
parenta9acc8e634db4a461ed39ef89a834147f0857af5 (diff)
downloadmariadb-git-9dd4e2b2449021c7f635599920263db3ec4bf4d5.tar.gz
Don't reset Delayed_insert_threads on FLUSH STATUS
Docs/manual.texi: changelog
-rw-r--r--Docs/manual.texi2
-rw-r--r--sql/mysqld.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index ac2d569ffc6..24b6ad6d4a8 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -46929,6 +46929,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.53
@itemize @bullet
@item
+Fixed that @code{SHOW STATUS} doesn't reset @code{Delayed_insert_threads}.
+@item
Fixed core dump bug when using the @code{BINARY} cast on a @code{NULL} value.
@item
Fixed race condition when someone did a @code{GRANT} at the same time a new
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 8098d324af5..b5c789548e7 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3182,7 +3182,7 @@ struct show_var_st status_vars[]= {
{"Created_tmp_disk_tables", (char*) &created_tmp_disk_tables,SHOW_LONG},
{"Created_tmp_tables", (char*) &created_tmp_tables, SHOW_LONG},
{"Created_tmp_files", (char*) &my_tmp_file_created, SHOW_LONG},
- {"Delayed_insert_threads", (char*) &delayed_insert_threads, SHOW_LONG},
+ {"Delayed_insert_threads", (char*) &delayed_insert_threads, SHOW_LONG_CONST},
{"Delayed_writes", (char*) &delayed_insert_writes, SHOW_LONG},
{"Delayed_errors", (char*) &delayed_insert_errors, SHOW_LONG},
{"Flush_commands", (char*) &refresh_version, SHOW_LONG_CONST},