diff options
author | monty@bitch.mysql.fi <> | 2001-11-30 00:48:26 +0200 |
---|---|---|
committer | monty@bitch.mysql.fi <> | 2001-11-30 00:48:26 +0200 |
commit | 9a17c068b5aa138838cb845f7073d80bef25ebe4 (patch) | |
tree | 5e5a501e0abf62fb594659620cc0b11619c35a74 /innobase/pars | |
parent | 76ed6c26fcd3f85c720d4aa4b77d39accb409be9 (diff) | |
download | mariadb-git-9a17c068b5aa138838cb845f7073d80bef25ebe4.tar.gz |
Removed purify warning
Remove temporary files before starting mysql-test
Diffstat (limited to 'innobase/pars')
-rw-r--r-- | innobase/pars/pars0opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/pars/pars0opt.c b/innobase/pars/pars0opt.c index 35d39caad00..3c378ec8ba2 100644 --- a/innobase/pars/pars0opt.c +++ b/innobase/pars/pars0opt.c @@ -373,7 +373,8 @@ opt_calc_index_goodness( } } - if (index->type & DICT_CLUSTERED) { + /* We have to test for goodness here, as last_op may note be set */ + if (goodness && index->type & DICT_CLUSTERED) { goodness++; } |