1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-25726 get rid of cmake comment hack in sql_yacc.yy

and replace it with equally unsightly %ifdef/%endif hack
also, support %else, it's nice
This commit is contained in:
Sergei Golubchik
2021-05-22 17:47:42 +02:00
parent 288b801696
commit dfbeddaa11
7 changed files with 84 additions and 44 deletions

View File

@@ -355,7 +355,7 @@ void binlog_unsafe_map_init();
#ifdef MYSQL_SERVER
/*
The following hack is needed because mysql_yacc.cc does not define
The following hack is needed because sql_yacc.cc does not define
YYSTYPE before including this file
*/
#ifdef MYSQL_YACC