Limit created keys to MAX_KEY_LENGTH.

Fix problem with query cache and database names


mysql-test/mysql-test-run.sh:
  Portability fixes
mysql-test/r/query_cache.result:
  More tests when using different databases
mysql-test/t/query_cache.test:
  More tests when using different databases
sql-bench/test-wisconsin.sh:
  Portability fix
sql/sql_cache.cc:
  Fix problem with query cache and database names
sql/sql_parse.cc:
  Remove pre and end space in query.
sql/sql_table.cc:
  Limit created keys to MAX_KEY_LENGTH.
This commit is contained in:
unknown 2001-12-23 02:43:46 +02:00
commit 953ac1a5cf
7 changed files with 101 additions and 41 deletions

View file

@ -242,7 +242,7 @@ sub init_data
{
@onek=
$server->create("onek",
["unique1 int(4) NOT NULL",
["unique1 int(5) NOT NULL",
"unique2 int(4) NOT NULL",
"two int(4)",
"four int(4)",