856
856
return to->store(result.c_ptr_quick(),result.length(),from->charset());
858
858
else if (from->result_type() == REAL_RESULT)
859
860
return to->store(from->val_real());
860
862
else if (from->result_type() == DECIMAL_RESULT)
863
865
return to->store_decimal(from->val_decimal(&buff));
866
869
return to->store(from->val_int(), test(from->flags & UNSIGNED_FLAG));
869
873
} /* namespace drizzled */