Bug #10248 VC++ compiler error with ha_innodb.cpp
Submitted: 28 Apr 2005 21:24 Modified: 29 Apr 2005 10:02
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:BK Source 5.0 OS:Windows (Windows)
Assigned to: CPU Architecture:Any

[28 Apr 2005 21:24] Miguel Solorzano
C:\mysql-5.0.6-beta\sql\ha_innodb.cpp(1635) : error C2664: 'innobase_commit' : cannot convert parameter 2 from 'void *' to 'int'
 This conversion requires a reinterpret_cast, a C-style cast or function-style cast

How to repeat:
Compile latest BK source 5.0 on Windows

Suggested fix:
[29 Apr 2005 10:02] Heikki Tuuri

Fixed. The code in innobase_report_binlog_offset_and_commit() is somewhat obsolete. I will need to change it when I fix the group commit that was broken by XA.

Thank you,