From: Tor Didriksen Date: October 25 2010 3:16pm Subject: bzr commit into mysql-trunk-merge branch (tor.didriksen:3298) List-Archive: http://lists.mysql.com/commits/121833 Message-Id: <20101025151600.8C3A23723@atum07.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///export/home/didrik/repo/trunk-merge/ based on revid:tor.didriksen@stripped 3298 Tor Didriksen 2010-10-25 [merge] Auto-merge from 5.5-bugteam modified: sql/sql_lex.h === modified file 'sql/sql_lex.h' --- a/sql/sql_lex.h 2010-10-07 12:47:15 +0000 +++ b/sql/sql_lex.h 2010-10-25 15:15:37 +0000 @@ -1401,6 +1401,7 @@ public: STMT_ACCESS_TABLE_COUNT }; +#ifndef DBUG_OFF static inline const char *stmt_accessed_table_string(enum_stmt_accessed_table accessed_table) { switch (accessed_table) @@ -1434,7 +1435,10 @@ public: DBUG_ASSERT(0); break; } + MY_ASSERT_UNREACHABLE(); + return ""; } +#endif /* DBUG */ #define BINLOG_DIRECT_ON 0xF0 /* unsafe when --binlog-direct-non-trans-updates No bundle (reason: revision is a merge).