Bug #36609 ScanTab.cpp -- precendence error with &

Submitted: 9 May 2008 3:35 Modified: 13 Feb 2009 3:46
Reporter: jack andrews Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.48 OS:Any
Assigned to: jack andrews CPU Architecture:Any

[9 May 2008 3:35] jack andrews
Description:
>>> ScanTab.cpp -----------
>>>
>>> this line in appears to mean something else:
>>>
>>> (requestInfo & ScanTabConf::EndOfData == ScanTabConf::EndOfData),
>>>
>>> it's equivalent to (requestInfo & 1)

How to repeat:
read source

Suggested fix:
  ((requestInfo & ScanTabConf::EndOfData) == ScanTabConf::EndOfData)
[13 Feb 2009 3:46] jack andrews
this fix has already been committed to -telco-6.4

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.