Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / databases / mysql56-client / patches / patch-sql_field__conv.cc
blob13ba6e7aead2ac73f5487890a2497cddd9627b77
1 $NetBSD$
3 --- sql/field_conv.cc.orig 2013-05-05 20:55:14.000000000 +0000
4 +++ sql/field_conv.cc
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));
17 else
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));