Below is the list of changes that have just been committed into a local
3.23 repository of monty. When monty does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.1305 02/12/21 10:57:53 monty@xxxxxxxxxxxxxxx +1 -0
Moved lower_case_table_name check to right place.
sql/sql_db.cc
1.37 02/12/21 10:57:52 monty@xxxxxxxxxxxxxxx +2 -3
Moved lower_case_table_name check to right place.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: monty
# Host: mashka.mysql.fi
# Root: /home/my/mysql-3.23
--- 1.36/sql/sql_db.cc Mon Dec 16 22:16:55 2002
+++ 1.37/sql/sql_db.cc Sat Dec 21 10:57:52 2002
@@ -323,9 +323,6 @@
uint db_access;
DBUG_ENTER("mysql_change_db");
- if (lower_case_table_names)
- casedn_str(dbname);
-
if (!dbname || !(length=strip_sp(dbname)))
{
x_free(dbname); /* purecov: inspected */
@@ -338,6 +335,8 @@
x_free(dbname);
DBUG_RETURN(1);
}
+ if (lower_case_table_names)
+ casedn_str(dbname);
DBUG_PRINT("general",("Use database: %s", dbname));
if (test_all_bits(thd->master_access,DB_ACLS))
db_access=DB_ACLS;
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail internals-thread6183@xxxxxxxxxxxxxxx
To unsubscribe, e-mail <internals-unsubscribe@xxxxxxxxxxxxxxx>
|