summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-11-21 19:01:29 +0200
committerunknown <monty@donna.mysql.com>2000-11-21 19:01:29 +0200
commit1cd5afe894f338f1532f925c13df842ac9c3121f (patch)
tree9d8190b8f127f3726a46363e912d4545859d5b50 /sql/table.cc
parentd42d26b9cc76083728ff14964873b4cf927e8840 (diff)
downloadmariadb-git-1cd5afe894f338f1532f925c13df842ac9c3121f.tar.gz
Fixed compilation in another dir
Docs/manual.texi: Added some general links mysys/Makefile.am: Fixed compilation of test_thr_lock in another directory sql/table.cc: cleanup
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index c840b36da05..70efd41425c 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -542,7 +542,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
HA_OPEN_IGNORE_IF_LOCKED) | ha_open_flags))))
{
/* Set a flag if the table is crashed and it can be auto. repaired */
- outparam->crashed=(err == HA_ERR_CRASHED_ON_USAGE &&
+ outparam->crashed=((err == HA_ERR_CRASHED_ON_USAGE) &&
outparam->file->auto_repair() &&
!(ha_open_flags & HA_OPEN_FOR_REPAIR));
goto err_not_open; /* purecov: inspected */