diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-03-19 17:20:15 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-03-19 17:20:15 -0300 |
commit | 27e3214b494b0cec3bdb5de927d18bc04323f6fb (patch) | |
tree | e8bb057569592ba9675e0119dbc1c707f56fc8d8 /sql | |
parent | e8c13e6a5482947d4d41a60826460dd76bcce975 (diff) | |
download | mariadb-git-27e3214b494b0cec3bdb5de927d18bc04323f6fb.tar.gz |
Bug#43461: invalid comparison with string literal in default.c
Don't compare string literals as it results in unspecified behavior.
mysys/default.c:
Test for a empty string.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 88b7dfb46d7..74bc669a049 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1758,7 +1758,7 @@ void Query_arena::set_query_arena(Query_arena *set) void Query_arena::cleanup_stmt() { - DBUG_ASSERT("Query_arena::cleanup_stmt()" == "not implemented"); + DBUG_ASSERT(! "Query_arena::cleanup_stmt() not implemented"); } /* |