Commit 352fcd45 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Fixed bug in LOCK TABLES on windows.

parent 8af1c6f3
...@@ -46868,6 +46868,7 @@ users use this code as the rest of the code and because of this we are ...@@ -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. not yet 100% confident in this code.
@menu @menu
* News-3.23.54:: Changes in release 3.23.54
* News-3.23.53:: Changes in release 3.23.53 * News-3.23.53:: Changes in release 3.23.53
* News-3.23.52:: Changes in release 3.23.52 * News-3.23.52:: Changes in release 3.23.52
* News-3.23.51:: Changes in release 3.23.51 * News-3.23.51:: Changes in release 3.23.51
...@@ -46925,10 +46926,19 @@ not yet 100% confident in this code. ...@@ -46925,10 +46926,19 @@ not yet 100% confident in this code.
* News-3.23.0:: Changes in release 3.23.0 * News-3.23.0:: Changes in release 3.23.0
@end menu @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 @appendixsubsec Changes in release 3.23.53
@itemize @bullet @itemize @bullet
@item @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. Fixed that @code{--skip-show-databases} doesn't reset the @code{--port} option.
@item @item
Small fix in @code{safe_mysqld} for some shells. Small fix in @code{safe_mysqld} for some shells.
...@@ -368,6 +368,8 @@ bool mysql_change_db(THD *thd,const char *name) ...@@ -368,6 +368,8 @@ bool mysql_change_db(THD *thd,const char *name)
} }
send_ok(&thd->net); send_ok(&thd->net);
x_free(thd->db); x_free(thd->db);
if (lower_case_table_names)
casedn_str(dbname);
thd->db=dbname; thd->db=dbname;
thd->db_access=db_access; thd->db_access=db_access;
DBUG_RETURN(0); DBUG_RETURN(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment