3 --- sql
/field_conv
.cc
.orig
2013-05-05 20:55:14.000000000 +0000
5 @@
-330,7 +330,7 @@
static void do_field_int(Copy_field
*cop
7 longlong value
= copy
->from_field
->val_int();
8 copy
->to_field
->store(value
,
9 - test(copy
->from_field
->flags
& UNSIGNED_FLAG
));
10 + my_test(copy
->from_field
->flags
& UNSIGNED_FLAG
));
13 static void do_field_real(Copy_field
*copy
)
14 @@
-898,5 +898,5 @@ type_conversion_status
field_conv(Field
15 return to
->store_decimal(from
->val_decimal(&buff
));
18 - return to
->store(from
->val_int(), test(from
->flags
& UNSIGNED_FLAG
));
19 + return to
->store(from
->val_int(), my_test(from
->flags
& UNSIGNED_FLAG
));