From e3fd562c0a74124bba385e22fd577f69bb7417ec Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Nov 2006 21:03:41 -0500 Subject: Fix compile failure. myisam/sort.c: Moved DBUG_PRINT statement to declaration section. --- myisam/sort.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'myisam') 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; -- cgit v1.2.1