diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-30 17:33:10 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-30 17:33:10 -0300 |
commit | e260cc3ff28d4d1130efe29cab917f6fb946faf7 (patch) | |
tree | 1a9767a3084652e439db979604526e25c1ac24f6 /sql | |
parent | 70928da9a64e905f48fa156605f8899ef8c15a29 (diff) | |
download | mariadb-git-e260cc3ff28d4d1130efe29cab917f6fb946faf7.tar.gz |
Bug#45288: pb2 returns a lot of compilation warnings on linux
Fix compiler warnings.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_lex.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 2bff036b1f1..24c51be2512 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1303,8 +1303,6 @@ int MYSQLlex(void *arg, void *yythd) } else { - const char* version_mark= lip->get_ptr() - 1; - DBUG_ASSERT(*version_mark == '!'); /* Patch and skip the conditional comment to avoid it being propagated infinitely (eg. to a slave). @@ -1313,7 +1311,6 @@ int MYSQLlex(void *arg, void *yythd) comment_closed= ! consume_comment(lip, 1); if (! comment_closed) { - DBUG_ASSERT(pcom == version_mark); *pcom= '!'; } /* version allowed to have one level of comment inside. */ |