summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2004-03-04 13:20:17 +0200
committerunknown <monty@mashka.mysql.fi>2004-03-04 13:20:17 +0200
commiteb7516c479c329bb8292b9a17193d34794477bca (patch)
tree3903714247be5027de41c5d35dde891fc4c17f8a
parent96a1f9d72e78de244880eaad65358f4a1d92c117 (diff)
downloadmariadb-git-eb7516c479c329bb8292b9a17193d34794477bca.tar.gz
Cleanup
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index a81c43fc16c..8a4a6005d85 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -124,7 +124,7 @@ enum db_type ha_checktype(enum db_type database_type)
for (types= sys_table_types; types->type; types++)
{
if ((database_type == types->db_type) &&
- (SHOW_OPTION_YES == *types->value))
+ (*types->value == SHOW_OPTION_YES))
return database_type;
}