diff options
author | unknown <monty@mashka.mysql.fi> | 2003-01-29 18:56:34 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-01-29 18:56:34 +0200 |
commit | bdfa549779d1871ee6b0934d67e782c2f8cf86d7 (patch) | |
tree | bbd18ba6ff992b36ac18095590748248e3a4b10b /sql/sql_db.cc | |
parent | 72455300841e1b00c312c3a03ace3bcbd57a4d2f (diff) | |
download | mariadb-git-bdfa549779d1871ee6b0934d67e782c2f8cf86d7.tar.gz |
Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
This fixes some Errcode 13 errors on Windows when deleting tables.
sql/mysql_priv.h:
Moved lower case conversion of database names to check_db_name()
sql/mysqld.cc:
Fix to be able to use 4.0 error message files
sql/sql_db.cc:
Moved lower case conversion of database names to check_db_name()
sql/sql_parse.cc:
Moved lower case conversion of database names to check_db_name()
Added checking of lower_case_table_names for mysql_table_dump() and
mysql_list_fields()
sql/sql_show.cc:
Moved lower case conversion of database names to check_db_name()
sql/table.cc:
Convert database names to lower case in check_db-name() if --lower-case-table-names is used.
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 1ba02bb416c..60eeb3777c4 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -337,8 +337,6 @@ bool mysql_change_db(THD *thd,const char *name) 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; |