summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2004-03-04 13:20:17 +0200
committermonty@mashka.mysql.fi <>2004-03-04 13:20:17 +0200
commitb04915943116e729d9e3c13fa7b30c45a1978952 (patch)
tree3903714247be5027de41c5d35dde891fc4c17f8a /sql
parent93dd971bed7cf2f0dfe5279529d906c9c2881348 (diff)
downloadmariadb-git-b04915943116e729d9e3c13fa7b30c45a1978952.tar.gz
Cleanup
Diffstat (limited to 'sql')
-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;
}