diff --git a/Docs/manual.texi b/Docs/manual.texi index 907ab1de62c..e8b9d89e1a2 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -46868,6 +46868,7 @@ users use this code as the rest of the code and because of this we are not yet 100% confident in this code. @menu +* News-3.23.54:: Changes in release 3.23.54 * News-3.23.53:: Changes in release 3.23.53 * News-3.23.52:: Changes in release 3.23.52 * News-3.23.51:: Changes in release 3.23.51 @@ -46925,10 +46926,19 @@ not yet 100% confident in this code. * News-3.23.0:: Changes in release 3.23.0 @end menu -@node News-3.23.53, News-3.23.52, News-3.23.x, News-3.23.x +@node News-3.23.54, News-3.23.53, News-3.23.x, News-3.23.x +@appendixsubsec Changes in release 3.23.54 + +@node News-3.23.53, News-3.23.52, News-3.23.54, News-3.23.x @appendixsubsec Changes in release 3.23.53 @itemize @bullet @item +Fixed possible memory corruption bug in binary log file handling when +slave rotated the logs (only affected 3.23, not 4.0). +@item +Fixed problem in @code{LOCK TABLES} on windows when on connects to a +database that contains upper case letters. +@item Fixed that @code{--skip-show-databases} doesn't reset the @code{--port} option. @item Small fix in @code{safe_mysqld} for some shells. diff --git a/sql/sql_db.cc b/sql/sql_db.cc index b3d63f72b8d..7fcda7948a2 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -368,6 +368,8 @@ bool mysql_change_db(THD *thd,const char *name) } send_ok(&thd->net); x_free(thd->db); + if (lower_case_table_names) + casedn_str(dbname); thd->db=dbname; thd->db_access=db_access; DBUG_RETURN(0);