summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <iggy@rolltop.ignatz42.dyndns.org>2006-11-02 21:03:41 -0500
committerunknown <iggy@rolltop.ignatz42.dyndns.org>2006-11-02 21:03:41 -0500
commite3fd562c0a74124bba385e22fd577f69bb7417ec (patch)
treea81fcb017ac487cccbb2f98e3b5360cf796016b4 /myisam
parent7483373801312351c9b7f15a389e800d4c6abae9 (diff)
downloadmariadb-git-e3fd562c0a74124bba385e22fd577f69bb7417ec.tar.gz
Fix compile failure.
myisam/sort.c: Moved DBUG_PRINT statement to declaration section.
Diffstat (limited to 'myisam')
-rw-r--r--myisam/sort.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/myisam/sort.c b/myisam/sort.c
index e888ce3b5df..67b93db5145 100644
--- a/myisam/sort.c
+++ b/myisam/sort.c
@@ -315,6 +315,7 @@ pthread_handler_decl(thr_find_all_keys,arg)
uint memavl,old_memavl,keys,sort_length;
uint idx, maxbuffer;
uchar **sort_keys=0;
+ DBUG_ENTER("thr_find_all_keys"); /* FIXME why no matching DBUG_RETURN ? */
LINT_INIT(keys);
@@ -323,10 +324,7 @@ pthread_handler_decl(thr_find_all_keys,arg)
if (my_thread_init())
goto err;
- { /* Expands to declaration, create new block */
- DBUG_ENTER("thr_find_all_keys"); /* FIXME why no matching DBUG_RETURN ? */
- DBUG_PRINT("enter", ("master: %d", sort_param->master));
- }
+ DBUG_PRINT("enter", ("master: %d", sort_param->master));
if (sort_param->sort_info->got_error)
goto err;