Bug #54159 InnoDB: New warnings on Windows

Submitted: 1 Jun 2010 20:22 Modified: 26 Jun 2010 14:38
Reporter: Calvin Sun Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.5 OS:Windows (32bit)
Assigned to: Jimmy Yang CPU Architecture:Any

[1 Jun 2010 20:22] Calvin Sun
Description:
The following new warnings were introduced by rb://330, on 32-bit Windows (as of r3133):

73>.\handler\i_s.cc(1985) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data
73>.\handler\i_s.cc(2250) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data
73>.\handler\i_s.cc(2262) : warning C4244: 'argument' : conversion from 'ib_int64_t' to 'double', possible loss of data
73>.\handler\i_s.cc(2273) : warning C4244: 'argument' : conversion from 'ib_uint64_t' to 'double', possible loss of data
73>.\handler\i_s.cc(2514) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data
73>.\handler\i_s.cc(2518) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data
73>.\handler\i_s.cc(2755) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data
73>.\handler\i_s.cc(2965) : warning C4244: 'argument' : conversion from 'longlong' to 'double', possible loss of data

According to field.h, two parameters are required for storing a longlong:

  virtual int  store(longlong nr, bool unsigned_val)=0;

How to repeat:
Compile mysql-trunk-innodb on Windows.
[15 Jun 2010 8:15] Bugs System
Pushed into 5.5.5-m3 (revid:alik@sun.com-20100615080459-smuswd9ooeywcxuc) (version source revid:marko.makela@oracle.com-20100602101940-60x32xiivtqj9va1) (merge vers: 5.1.48) (pib:16)
[15 Jun 2010 8:31] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100615080558-cw01bzdqr1bdmmec) (version source revid:marko.makela@oracle.com-20100602101940-60x32xiivtqj9va1) (pib:16)
[26 Jun 2010 14:38] Calvin Sun
fixed in 5.5.5, and no need to doc.

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

Page generated in 0.052 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.