Commit 75aba21f authored by Sergey Vojtovich's avatar Sergey Vojtovich

Applying InnoDB snapshot

Detailed revision comments:

r6822 | vasil | 2010-03-15 10:17:31 +0200 (Mon, 15 Mar 2010) | 12 lines
branches/5.1:

Typecast to silence a compiler warning:

row/row0sel.c: 4548
        C4244: '=' : conversion from 'float' to 'ib_ulonglong', possible loss of data
row/row0sel.c: 4553
        C4244: '=' : conversion from 'double' to 'ib_ulonglong', possible loss of data

Reported by:	Jonas Oreland <Jonas.Oreland@Sun.COM>
Discussed with:	Sunny Bains <sunny.bains@oracle.com>
parent a10d3338
...@@ -4545,12 +4545,12 @@ row_search_autoinc_read_column( ...@@ -4545,12 +4545,12 @@ row_search_autoinc_read_column(
case DATA_FLOAT: case DATA_FLOAT:
ut_a(len == sizeof(float)); ut_a(len == sizeof(float));
value = mach_float_read(data); value = (ib_ulonglong) mach_float_read(data);
break; break;
case DATA_DOUBLE: case DATA_DOUBLE:
ut_a(len == sizeof(double)); ut_a(len == sizeof(double));
value = mach_double_read(data); value = (ib_ulonglong) mach_double_read(data);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment