Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / databases / mysql56-client / patches / patch-sql_field.cc
blobfdf096b6a8ddc3186d856e1f631c29498335b2fb
1 $NetBSD$
3 --- sql/field.cc.orig 2013-04-05 12:27:18.000000000 +0000
4 +++ sql/field.cc
5 @@ -1855,7 +1855,7 @@ type_conversion_status Field::store_time
7 bool Field::optimize_range(uint idx, uint part)
9 - return test(table->file->index_flags(idx, part, 1) & HA_READ_RANGE);
10 + return my_test(table->file->index_flags(idx, part, 1) & HA_READ_RANGE);
14 @@ -9514,7 +9514,7 @@ void Create_field::create_length_to_inte
16 pack_length= length / 8;
17 /* We need one extra byte to store the bits we save among the null bits */
18 - key_length= pack_length + test(length & 7);
19 + key_length= pack_length + my_test(length & 7);
21 break;
22 case MYSQL_TYPE_NEWDECIMAL: