diff options
author | unknown <monty@hundin.mysql.fi> | 2001-12-22 15:13:31 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-12-22 15:13:31 +0200 |
commit | d114b224e43b638ce664264afc39e6028bfe2894 (patch) | |
tree | f8ed70ccb23812937954a6f217c183b3677d978a /include/raid.h | |
parent | b08bb5e8cf1d11afc535ca366a05d57046f991cb (diff) | |
download | mariadb-git-d114b224e43b638ce664264afc39e6028bfe2894.tar.gz |
Fixed access privilege bug in query cache.
Change tests to use database 'mysqltest' instead of 'foo'
Add option to not print access denied messages to check_table_access()
Docs/manual.texi:
Updated query cache information.
client/mysqltest.c:
When connection to the database '*NO-ONE*, connect without specify a database.
include/raid.h:
Portability fix
mysql-test/r/drop.result:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/r/flush.result:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/r/innodb.result:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/r/query_cache.result:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/t/drop.test:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/t/flush.test:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/t/innodb.test:
Change test to use database 'mysqltest' instead of 'foo'
mysql-test/t/query_cache.test:
Change test to use database 'mysqltest' instead of 'foo'
sql/mysql_priv.h:
Add option to not print access denied messages
sql/net_pkg.cc:
Fix for query cache
sql/net_serv.cc:
Speed improvment
sql/sql_cache.cc:
Fixed access privilege bug in query cache
sql/sql_cache.h:
Always compiled with integrity check function prototypes.
sql/sql_do.cc:
Removed warning
sql/sql_parse.cc:
Add option to not print access denied messages
Diffstat (limited to 'include/raid.h')
-rw-r--r-- | include/raid.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/raid.h b/include/raid.h index 7655fbe09f7..4a988760157 100644 --- a/include/raid.h +++ b/include/raid.h @@ -22,8 +22,10 @@ #define RAID_DEFAULT_CHUNKS 4 #define RAID_DEFAULT_CHUNKSIZE 256*1024 /* 256kB */ -extern const char *raid_type_string[]; +C_MODE_START #define my_raid_type(raid_type) raid_type_string[(int)(raid_type)] +extern const char *raid_type_string[]; +C_MODE_END #if defined(USE_RAID) && !defined(DONT_USE_RAID) |