summaryrefslogtreecommitdiff
path: root/myisam/sort.c
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-03-26 18:37:38 +0200
committerunknown <monty@mashka.mysql.fi>2003-03-26 18:37:38 +0200
commit9630bdffddc52d9ecd2e9ccab1c492756f07076d (patch)
tree007e99eab2948fed93bba975a04801b24ba9c92a /myisam/sort.c
parentc8bdced21469ec1777abfea13662becc66944919 (diff)
parent221dfec1a4fb2a7208d9ae88eaa151857e95486c (diff)
downloadmariadb-git-9630bdffddc52d9ecd2e9ccab1c492756f07076d.tar.gz
Merge with 4.0.13
BitKeeper/etc/gone: auto-union BitKeeper/etc/logging_ok: auto-union myisam/sort.c: Auto merged mysql-test/r/group_by.result: Auto merged mysql-test/r/join_outer.result: Auto merged mysql-test/r/order_by.result: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/r/type_blob.result: Auto merged mysql-test/r/type_ranges.result: Auto merged mysql-test/r/update.result: Auto merged mysql-test/t/bdb-crash.test: Auto merged mysql-test/t/group_by.test: Auto merged mysql-test/t/join_outer.test: Auto merged mysql-test/t/order_by.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/type_blob.test: Auto merged mysql-test/t/type_decimal.test: Auto merged mysql-test/t/type_ranges.test: Auto merged mysql-test/t/update.test: Auto merged sql-bench/crash-me.sh: Auto merged client/mysql.cc: Keep old code
Diffstat (limited to 'myisam/sort.c')
-rw-r--r--myisam/sort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/myisam/sort.c b/myisam/sort.c
index 006b96cfaab..09e487e1165 100644
--- a/myisam/sort.c
+++ b/myisam/sort.c
@@ -297,6 +297,7 @@ static ha_rows NEAR_F find_all_keys(MI_SORT_PARAM *info, uint keys,
} /* find_all_keys */
+#ifdef THREAD
/* Search after all keys and place them in a temp. file */
pthread_handler_decl(thr_find_all_keys,arg)
@@ -590,6 +591,7 @@ int thr_write_keys(MI_SORT_PARAM *sort_param)
my_free((gptr) mergebuf,MYF(MY_ALLOW_ZERO_PTR));
return got_error;
}
+#endif /* THREAD */
/* Write all keys in memory to file for later merge */