summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kent/mysqldev@suse9-x86.mysql.com>2006-11-03 02:35:09 +0100
committerunknown <kent/mysqldev@suse9-x86.mysql.com>2006-11-03 02:35:09 +0100
commit7483373801312351c9b7f15a389e800d4c6abae9 (patch)
treeefbefccd2b129fc2c67f5e19fc3c450f3e38a02d
parent2886e07d3fa72d8aac8091c581adccb7a666a411 (diff)
downloadmariadb-git-7483373801312351c9b7f15a389e800d4c6abae9.tar.gz
sort.c:
Create block around DBUG_ENTER late in function myisam/sort.c: Create block around DBUG_ENTER late in function
-rw-r--r--myisam/sort.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/myisam/sort.c b/myisam/sort.c
index 154d50d4d39..e888ce3b5df 100644
--- a/myisam/sort.c
+++ b/myisam/sort.c
@@ -322,8 +322,12 @@ pthread_handler_decl(thr_find_all_keys,arg)
if (my_thread_init())
goto err;
- DBUG_ENTER("thr_find_all_keys");
- DBUG_PRINT("enter", ("master: %d", sort_param->master));
+
+ { /* 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));
+ }
+
if (sort_param->sort_info->got_error)
goto err;