summaryrefslogtreecommitdiff
path: root/include/raid.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-22 15:13:31 +0200
committermonty@hundin.mysql.fi <>2001-12-22 15:13:31 +0200
commit9e1ed2e4dcaed23b6acf5944c1cfa0cba66fe29d (patch)
treef8ed70ccb23812937954a6f217c183b3677d978a /include/raid.h
parent778058123b797486993eeea09a185b1cef4a75ba (diff)
downloadmariadb-git-9e1ed2e4dcaed23b6acf5944c1cfa0cba66fe29d.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()
Diffstat (limited to 'include/raid.h')
-rw-r--r--include/raid.h4
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)