BINARY charset is now used instead of binary_flag

This commit is contained in:
unknown 2002-10-25 13:58:32 +05:00
commit e823751548
25 changed files with 199 additions and 226 deletions

View file

@ -56,7 +56,7 @@ bool Item_str_buff::cmp(void)
}
else if (null_value)
return 0; // new and old value was null
else if (!item->binary)
else if (!item->binary())
tmp= sortcmp(&value,res) != 0;
else
tmp= stringcmp(&value,res) != 0;