summaryrefslogtreecommitdiff
path: root/myisam/sort.c
diff options
context:
space:
mode:
authorkent/mysqldev@suse9-x86.mysql.com <>2006-11-03 02:35:09 +0100
committerkent/mysqldev@suse9-x86.mysql.com <>2006-11-03 02:35:09 +0100
commit7c2ff3c307aed920fad9946a4cb7793d5071be6e (patch)
treeefbefccd2b129fc2c67f5e19fc3c450f3e38a02d /myisam/sort.c
parent6a28c436f7ea768735d37ef037b00e036ad8ed04 (diff)
downloadmariadb-git-7c2ff3c307aed920fad9946a4cb7793d5071be6e.tar.gz
sort.c:
Create block around DBUG_ENTER late in function
Diffstat (limited to 'myisam/sort.c')
-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;