diff options
author | heikki@donna.mysql.fi <> | 2001-07-20 00:32:41 +0300 |
---|---|---|
committer | heikki@donna.mysql.fi <> | 2001-07-20 00:32:41 +0300 |
commit | 147c51b59b81da31935bacf5c6f7130bd9b9abba (patch) | |
tree | da3049d67d286b5d7c0c6dc9876be54bd08b806a /innobase/row/row0sel.c | |
parent | b534cd660805b39686bc50540467cff934ea3211 (diff) | |
download | mariadb-git-147c51b59b81da31935bacf5c6f7130bd9b9abba.tar.gz |
row0sel.c Disable a special join speed optimization until Peter Zaitsev's hang is tracked down
Diffstat (limited to 'innobase/row/row0sel.c')
-rw-r--r-- | innobase/row/row0sel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c index 5599bb42a25..eef60c07af3 100644 --- a/innobase/row/row0sel.c +++ b/innobase/row/row0sel.c @@ -2537,7 +2537,10 @@ row_search_for_mysql( unique_search_from_clust_index = TRUE; - if (trx->mysql_n_tables_locked == 0 + /* Disable this optimization (hence FALSE below) until + the hang of Peter Zaitsev has been tracked down */ + + if (FALSE && trx->mysql_n_tables_locked == 0 && !prebuilt->sql_stat_start) { /* This is a SELECT query done as a consistent read, |