summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-16 10:31:00 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-16 10:31:00 +0300
commit473dfa68087f455fab933650c1bf4655061b2992 (patch)
treeb4be051911ecde9d82fdae6b8599af343a2b2898 /sql/sql_yacc.yy
parent422696d673dececd0feb54c28d05327bf4825834 (diff)
parentb7445ff687db2bba4785d9475865039940d6aa05 (diff)
downloadmariadb-git-473dfa68087f455fab933650c1bf4655061b2992.tar.gz
automerge
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 7d6a7ade540..ffb9b6d001a 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -47,6 +47,12 @@
#include <myisam.h>
#include <myisammrg.h>
+/* this is to get the bison compilation windows warnings out */
+#ifdef _MSC_VER
+/* warning C4065: switch statement contains 'default' but no 'case' labels */
+#pragma warning (disable : 4065)
+#endif
+
int yylex(void *yylval, void *yythd);
const LEX_STRING null_lex_str= {0,0};