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