Bug #500 trx_commit_complete_for_mysql contains no return statement
Submitted: 25 May 2003 13:55 Modified: 25 May 2003 14:02
Reporter: Jean-François Piéronne Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0.13 OS:OpenVMS
Assigned to: CPU Architecture:Any

[25 May 2003 13:55] Jean-François Piéronne
Description:
MySQL version 4.0.13

I think there is a small bug into the routine trx_commit_complete_for_mysql source file innobase/txt/trx0trx.c

The function of type ulint contains no return statement, I suppose that some  "return(0)" is missing.

Regards,

Jean-François Piéronne

How to repeat:
Compilation warning

Suggested fix:
add
return(0) to the function
[25 May 2003 14:00] MySQL Verification Team
Thanks you for the bug report.
This issue was already fixed in the current BK 4.0 tree.
[25 May 2003 14:02] Heikki Tuuri
Jean-Francois,

thank you for your bug report!

You are right, return(0) is missing there. Fortunately, the return value is not used anywhere, thus it does not affect program execution. The bug is already fixed in 4.0.14.

Regards,

Heikki