@@ -21453,7 +21475,8 @@ If you have specified the update log file or a binary log file without
...
@@ -21453,7 +21475,8 @@ If you have specified the update log file or a binary log file without
an extension, the extension number of the log file will be incremented
an extension, the extension number of the log file will be incremented
by one relative to the previous file. If you have used an extension in
by one relative to the previous file. If you have used an extension in
the file name, @strong{MySQL} will close and reopen the update log file.
the file name, @strong{MySQL} will close and reopen the update log file.
@xref{Update log}.
@xref{Update log}. This is the same thing as sending the @code{SIGHUP}
signal to the @code{mysqld} server.
@item @code{PRIVILEGES} @tab Reloads the privileges from the grant tables in
@item @code{PRIVILEGES} @tab Reloads the privileges from the grant tables in
the @code{mysql} database.
the @code{mysql} database.
...
@@ -21464,13 +21487,16 @@ the @code{mysql} database.
...
@@ -21464,13 +21487,16 @@ the @code{mysql} database.
@item @code{TABLES WITH READ LOCK} @tab Closes all open tables and locks all tables for all databases with a read until one executes @code{UNLOCK TABLES}. This is very convenient way to get backups if you have a file system, like Veritas,that can take snapshots in time.
@item @code{TABLES WITH READ LOCK} @tab Closes all open tables and locks all tables for all databases with a read until one executes @code{UNLOCK TABLES}. This is very convenient way to get backups if you have a file system, like Veritas,that can take snapshots in time.
@item @code{STATUS} @tab Resets most status variables to zero.
@item @code{STATUS} @tab Resets most status variables to zero. This is something one should only use when debugging a query.
@end multitable
@end multitable
You can also access each of the commands shown above with the @code{mysqladmin}
You can also access each of the commands shown above with the @code{mysqladmin}
utility, using the @code{flush-hosts}, @code{flush-logs}, @code{reload},
utility, using the @code{flush-hosts}, @code{flush-logs}, @code{reload},
or @code{flush-tables} commands.
or @code{flush-tables} commands.
Take also a look at the @code{RESET} command used with
replication. @xref{Replication SQL}.
@cindex @code{mysqladmin}
@cindex @code{mysqladmin}
@findex KILL
@findex KILL
@node KILL, SHOW, FLUSH, Reference
@node KILL, SHOW, FLUSH, Reference
...
@@ -29252,14 +29278,14 @@ The following table has the options you can use for the @strong{MASTER}:
...
@@ -29252,14 +29278,14 @@ The following table has the options you can use for the @strong{MASTER}:
@item @strong{Option} @tab @strong{Description}
@item @strong{Option} @tab @strong{Description}
@item @code{log-bin=filename} @tab
@item @code{log-bin=filename} @tab
Write to a binary update log to the specified location. Note that if you
Write to a binary update log to the specified location. Note that if you
give it a parameter with an extension
give it a parameter with an extension (for example,
(for example, @code{log-bin=/mysql/logs/replication.log} ) versions up to 3.23.24
@code{log-bin=/mysql/logs/replication.log} ) versions up to 3.23.24 will
will not work right during replication if you do @code{FLUSH LOGS} . The
not work right during replication if you do @code{FLUSH LOGS} . The
problem is fixed in Version 3.23.25. If you are using this kind of log name,
problem is fixed in Version 3.23.25. If you are using this kind of log
@code{FLUSH LOGS} will be ignored on binlog. To clear the log, run
name, @code{FLUSH LOGS} will be ignored on binlog. To clear the log, run
@code{FLUSH MASTER}, and do not forget to run @code{FLUSH SLAVE} on all
@code{FLUSH MASTER}, and do not forget to run @code{FLUSH SLAVE} on all
slaves. In Version 3.23.26 and in later versions you should use @code{RESET MASTER}
slaves. In Version 3.23.26 and in later versions you should use
and @code{RESET SLAVE}
@code{RESET MASTER} and @code{RESET SLAVE}
@item @code{log-bin-index=filename} @tab
@item @code{log-bin-index=filename} @tab
Because the user could issue the @code{FLUSH LOGS} command, we need to
Because the user could issue the @code{FLUSH LOGS} command, we need to
...
@@ -45688,6 +45714,14 @@ not yet 100% confident in this code.
...
@@ -45688,6 +45714,14 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.40
@appendixsubsec Changes in release 3.23.40
@itemize @bullet
@itemize @bullet
@item
@item
Fixed that @code{DELETE FROM table_name ... LIMIT 0} and
@code{UPDATE FROM table_name ... LIMIT 0} doesn't delete/update anything.
@item
@code{CHECK TABLE} now checks if an auto_increment column contains the value 0.
@item
Sending a @code{SIGHUP} to @code{mysqld} will now only flush the logs,
not reset the replication.
@item
Fixed parser to allow floats of type @code{1.0e1} (no sign after @code{e}).
Fixed parser to allow floats of type @code{1.0e1} (no sign after @code{e}).
@item
@item
Option @code{--force} to @code{myisamchk} now also updates states.
Option @code{--force} to @code{myisamchk} now also updates states.
...
@@ -51131,6 +51165,9 @@ efficiently, we need to add an API to allow binding of variables.
...
@@ -51131,6 +51165,9 @@ efficiently, we need to add an API to allow binding of variables.
Make it possible to specify @code{long_query_time} with a granularity
Make it possible to specify @code{long_query_time} with a granularity
in microseconds.
in microseconds.
@item
@item
Add a configurable prompt to the @code{mysql} command line client, with