Commit e3fd562c authored by unknown's avatar unknown

Fix compile failure.


myisam/sort.c:
  Moved DBUG_PRINT statement to declaration section.
parent 74833738
...@@ -315,6 +315,7 @@ pthread_handler_decl(thr_find_all_keys,arg) ...@@ -315,6 +315,7 @@ pthread_handler_decl(thr_find_all_keys,arg)
uint memavl,old_memavl,keys,sort_length; uint memavl,old_memavl,keys,sort_length;
uint idx, maxbuffer; uint idx, maxbuffer;
uchar **sort_keys=0; uchar **sort_keys=0;
DBUG_ENTER("thr_find_all_keys"); /* FIXME why no matching DBUG_RETURN ? */
LINT_INIT(keys); LINT_INIT(keys);
...@@ -323,10 +324,7 @@ pthread_handler_decl(thr_find_all_keys,arg) ...@@ -323,10 +324,7 @@ pthread_handler_decl(thr_find_all_keys,arg)
if (my_thread_init()) if (my_thread_init())
goto err; goto err;
{ /* Expands to declaration, create new block */ DBUG_PRINT("enter", ("master: %d", sort_param->master));
DBUG_ENTER("thr_find_all_keys"); /* FIXME why no matching DBUG_RETURN ? */
DBUG_PRINT("enter", ("master: %d", sort_param->master));
}
if (sort_param->sort_info->got_error) if (sort_param->sort_info->got_error)
goto err; goto err;
......
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