bug #9088 (bigint WHERE fails)

mysql-test/r/bigint.result:
  test result
mysql-test/t/bigint.test:
  testcase
sql/item.h:
  unsigned_arg is a separate parameter now
sql/item_cmpfunc.cc:
  we can get unsigned field from the signed Item - from string
  like '1234'
This commit is contained in:
unknown 2006-03-01 15:50:15 +04:00
commit b17bb278f7
4 changed files with 23 additions and 3 deletions

View file

@ -1887,9 +1887,10 @@ class Item_int_with_ref :public Item_int
{
Item *ref;
public:
Item_int_with_ref(longlong i, Item *ref_arg) :Item_int(i), ref(ref_arg)
Item_int_with_ref(longlong i, Item *ref_arg, my_bool unsigned_arg) :
Item_int(i), ref(ref_arg)
{
unsigned_flag= ref_arg->unsigned_flag;
unsigned_flag= unsigned_arg;
}
int save_in_field(Field *field, bool no_conversions)
{