summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2006-04-11 18:16:14 +0500
committerunknown <bar@mysql.com>2006-04-11 18:16:14 +0500
commitaa3eb77e62b57b62a393980f56f21eb2e013f676 (patch)
tree1d0a5e974ab559eef30edb0da17607e8dc870d0f /tests
parentef4309284d0124e4b5cb76a379da1571cd8ce464 (diff)
downloadmariadb-git-aa3eb77e62b57b62a393980f56f21eb2e013f676.tar.gz
bug#17870 Table names conflict with Windows device names
It was impossible to create some table names on Windows (e.g. LPT1, AUX, COM1, etc). Fixed to pad dangerous names with thee "at" signs (e.g. LPT1@@@, AUX@@@, COM1@@@, and so on). include/my_sys.h: Adding new function declaration mysys/my_access.c: Adding new function check_if_legal_tablename(). It works almost like check_if_legal_filename(), but accepts a table name without extension and path, and does not check "CLOCK$". sql/sql_table.cc: Check if a dangerous table name and append @@@ strings/ctype-utf8.c: Treat "@@@" sequence in a table name as a end-of-line. mysql-test/r/ctype_filename.result: New BitKeeper file ``mysql-test/r/ctype_filename.result'' mysql-test/t/ctype_filename.test: New BitKeeper file ``mysql-test/t/ctype_filename.test''
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions