summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-06-01 12:12:06 +0400
committerkostja@bodhi.(none) <>2007-06-01 12:12:06 +0400
commit16633169e4ab381126388f1bb2a014e9423c8f86 (patch)
tree2c2de88de3152746bd0ffaea698446ff1cede244 /sql/sql_lex.h
parent685293b98584b36c568bd6a4fa6ded69f6ce5844 (diff)
parent2c8f4f97910bec416fc9a375cf1c74be2ca395cc (diff)
downloadmariadb-git-16633169e4ab381126388f1bb2a014e9423c8f86.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into bodhi.(none):/opt/local/work/mysql-5.1-runtime
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 68a3092cd77..6d96dded088 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -221,7 +221,7 @@ enum tablespace_op_type
Keep in sync with index_hint_type.
*/
extern const char * index_hint_type_name[];
-typedef byte index_clause_map;
+typedef uchar index_clause_map;
/*
Bits in index_clause_map : one for each possible FOR clause in
@@ -409,7 +409,7 @@ public:
static void *operator new(size_t size)
{
- return (void*) sql_alloc((uint) size);
+ return sql_alloc(size);
}
static void *operator new(size_t size, MEM_ROOT *mem_root)
{ return (void*) alloc_root(mem_root, (uint) size); }
@@ -733,7 +733,7 @@ public:
{
order_list.elements= 0;
order_list.first= 0;
- order_list.next= (byte**) &order_list.first;
+ order_list.next= (uchar**) &order_list.first;
}
/*
This method created for reiniting LEX in mysql_admin_table() and can be
@@ -947,7 +947,7 @@ public:
in which it was right after query parsing.
*/
SQL_LIST sroutines_list;
- byte **sroutines_list_own_last;
+ uchar **sroutines_list_own_last;
uint sroutines_list_own_elements;
/*
@@ -1111,7 +1111,7 @@ typedef struct st_lex : public Query_tables_list
LEX_STRING comment, ident;
LEX_USER *grant_user;
XID *xid;
- gptr yacc_yyss,yacc_yyvs;
+ uchar* yacc_yyss, *yacc_yyvs;
THD *thd;
/* maintain a list of used plugins for this LEX */
@@ -1400,7 +1400,7 @@ struct st_lex_local: public st_lex
{
static void *operator new(size_t size)
{
- return (void*) sql_alloc((uint) size);
+ return sql_alloc(size);
}
static void *operator new(size_t size, MEM_ROOT *mem_root)
{