Commit 2033175a authored by unknown's avatar unknown

compilation fixes


sql/ha_federated.h:
  copy-paste fix
sql/sql_parse.cc:
  after-merge fix
parent 475cfa7e
...@@ -72,7 +72,7 @@ class ha_federated: public handler ...@@ -72,7 +72,7 @@ class ha_federated: public handler
return errorcode otherwise return errorcode otherwise
*/ */
uint convert_row_to_internal_format(byte *buf, MYSQL_ROW row); uint convert_row_to_internal_format(byte *buf, MYSQL_ROW row);
bool ha_federated::create_where_from_key(String *to, KEY *key_info, const byte *key, uint key_length); bool create_where_from_key(String *to, KEY *key_info, const byte *key, uint key_length);
public: public:
ha_federated(TABLE *table): handler(table), ha_federated(TABLE *table): handler(table),
......
...@@ -5151,8 +5151,8 @@ void mysql_parse(THD *thd, char *inBuf, uint length) ...@@ -5151,8 +5151,8 @@ void mysql_parse(THD *thd, char *inBuf, uint length)
PROCESSLIST. PROCESSLIST.
Note that we don't need LOCK_thread_count to modify query_length. Note that we don't need LOCK_thread_count to modify query_length.
*/ */
if (lex->found_colon && if (lex->found_semicolon &&
(thd->query_length= (ulong)(lex->found_colon - thd->query))) (thd->query_length= (ulong)(lex->found_semicolon - thd->query)))
thd->query_length--; thd->query_length--;
/* Actually execute the query */ /* Actually execute the query */
mysql_execute_command(thd); mysql_execute_command(thd);
......
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