Commit 97bdd803 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)

Fix a build break on 64 bit (uint and size_t are distinct types).

parent 0e92e434
...@@ -2326,7 +2326,7 @@ uint8 st_lex::get_effective_with_check(TABLE_LIST *view) ...@@ -2326,7 +2326,7 @@ uint8 st_lex::get_effective_with_check(TABLE_LIST *view)
*/ */
bool bool
st_lex::copy_db_to(char **p_db, uint *p_db_length) const st_lex::copy_db_to(char **p_db, size_t *p_db_length) const
{ {
if (sphead) if (sphead)
{ {
......
...@@ -1782,7 +1782,7 @@ typedef struct st_lex : public Query_tables_list ...@@ -1782,7 +1782,7 @@ typedef struct st_lex : public Query_tables_list
context_stack.pop(); context_stack.pop();
} }
bool copy_db_to(char **p_db, uint *p_db_length) const; bool copy_db_to(char **p_db, size_t *p_db_length) const;
Name_resolution_context *current_context() Name_resolution_context *current_context()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment