null+****@clear*****
null+****@clear*****
2012年 1月 29日 (日) 21:18:46 JST
Kouhei Sutou 2012-01-29 21:18:46 +0900 (Sun, 29 Jan 2012) New Revision: b8d7c4b8a1bb46d36fa589ec6a67f9c7a431611c Log: remove a needless comparison. Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+1 -1) =================================================================== --- ha_mroonga.cc 2012-01-29 21:16:05 +0900 (e1fdecb) +++ ha_mroonga.cc 2012-01-29 21:18:46 +0900 (b43e2b6) @@ -1257,7 +1257,7 @@ static int mrn_set_key_buf(grn_ctx *ctx, Field *field, if (error) return error; - if (field->null_bit != 0x0) { + if (field->null_bit) { ptr += 1; }