summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-10-27 19:52:41 +0300
committermonty@mysql.com <>2004-10-27 19:52:41 +0300
commit3493f54a5ed60e838e7bd6b428638a43da341e47 (patch)
treed9b411a738093cebf4896002805fdc91ca117fb1 /sql/sql_cache.h
parentcce8f5449d19b3feb15da247a4692e8d61763efa (diff)
parentd5691702d78c703f92c13396cc901baffbffdd19 (diff)
downloadmariadb-git-3493f54a5ed60e838e7bd6b428638a43da341e47.tar.gz
Merge with 4.0
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index fc458f39e29..c933a2349af 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -143,14 +143,14 @@ struct Query_cache_query
struct Query_cache_table
{
char *tbl;
- uint key_len;
+ uint32 key_len;
uint8 table_type;
inline char *db() { return (char *) data(); }
inline char *table() { return tbl; }
inline void table(char *table) { tbl= table; }
- inline uint key_length() { return key_len; }
- inline void key_length(uint len) { key_len= len; }
+ inline uint32 key_length() { return key_len; }
+ inline void key_length(uint32 len) { key_len= len; }
inline uint8 type() { return table_type; }
inline void type(uint8 t) { table_type= t; }
inline gptr data()