Bug #31626 sql_yacc.cpp has wrong #line directive
Submitted: 16 Oct 2007 2:51 Modified: 16 Oct 2007 9:26
Reporter: Sadao Hiratsuka (Basic Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0.46 OS:Windows
Assigned to: CPU Architecture:Any
Tags: sql_yacc.cpp

[16 Oct 2007 2:51] Sadao Hiratsuka
Description:
mysqlcom-5.0.46-win-src.tar.gz
sql/sql_yacc.cpp

} YYSTYPE;
/* Line 190 of yacc.c.  */
#line 1622 "sql_yacc.cc" ***** HERE *****
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1

I think '#line 1622 "sql_yacc.cpp"' is correct directive, not 'sql_yacc.cc'.
So I can't set breakpoints at sql_yacc.cpp.

How to repeat:
Please check line 1621, 1636, 27318 in sql/sql_yacc.cpp.

Suggested fix:
I suppose that sql_yacc.cpp was renamed after generated.
[16 Oct 2007 9:26] Sveta Smirnova
Thank you for the report.

Since version 5.0.48 we use same sources for UNIX and Windows. File sql_yacc.cpp does not exists, but there is file sql_yacc.cc So problem is fixed now. Please wait next release.