summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-27 21:09:56 +0400
committerunknown <kostja@bodhi.local>2007-03-27 21:09:56 +0400
commitf5940fe904186aa196ffc0084d9c81db7492d222 (patch)
tree6daa52a8ca86c0e36c1ccc12d201cfb452f71156 /sql/table.h
parent66fcdd5403ba20a9f9f760c545fe49a297188f96 (diff)
downloadmariadb-git-f5940fe904186aa196ffc0084d9c81db7492d222.tar.gz
Remove unnecessary casts to uchar. The casts are stemming from
the lexer API which internally uses unsigned char variables to address its state map. The implementation of the lexer should be internal to the lexer, and not influence the rest of the code. sql/event_data_objects.cc: Clean up unnecessary type casts. sql/event_data_objects.h: Clean up unnecessary type casts. sql/ha_ndbcluster.cc: Clean up unnecessary type casts. sql/mysql_priv.h: Clean up unnecessary type casts. sql/partition_info.h: Clean up unnecessary type casts. sql/sp.cc: Clean up unnecessary type casts. sql/sp_head.cc: Clean up unnecessary type casts. sql/sp_head.h: Clean up unnecessary type casts. sql/sql_lex.cc: Clean up unnecessary type casts. sql/sql_lex.h: Clean up unnecessary type casts. sql/sql_parse.cc: Clean up unnecessary type casts. sql/sql_partition.cc: Clean up unnecessary type casts. sql/sql_partition.h: Clean up unnecessary type casts. sql/sql_prepare.cc: Clean up unnecessary type casts. sql/sql_trigger.cc: Clean up unnecessary type casts. sql/sql_view.cc: Clean up unnecessary type casts. sql/sql_yacc.yy: Clean up unnecessary type casts. sql/table.cc: Clean up unnecessary type casts. sql/table.h: Clean up unnecessary type casts.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/table.h b/sql/table.h
index aa053f207b3..0eb372e9cca 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -236,9 +236,9 @@ typedef struct st_table_share
bool log_table;
#ifdef WITH_PARTITION_STORAGE_ENGINE
bool auto_partitioned;
- const uchar *partition_info;
+ const char *partition_info;
uint partition_info_len;
- const uchar *part_state;
+ const char *part_state;
uint part_state_len;
handlerton *default_part_db_type;
#endif