summaryrefslogtreecommitdiff
path: root/sql
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
commit7dd56817a5069eb0210c8e590729973cd98a4acb (patch)
tree9d8190b8f127f3726a46363e912d4545859d5b50 /sql
parent54549a97def4736a1760e8f9181260ee220d3dc1 (diff)
downloadmariadb-git-7dd56817a5069eb0210c8e590729973cd98a4acb.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')
-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 */