| 804 | |
| 805 | |
| 806 | bool Protocol_text::store_short(longlong from) |
| 807 | { |
| 808 | #ifndef DBUG_OFF |
| 809 | DBUG_ASSERT(field_types == 0 || |
| 810 | field_types[field_pos] == MYSQL_TYPE_YEAR || |
| 811 | field_types[field_pos] == MYSQL_TYPE_SHORT); |
| 812 | field_pos++; |
| 813 | #endif |
| 814 | char buff[20]; |
| 815 | return net_store_data((uchar*) buff, |
| 816 | (size_t) (int10_to_str((int) from, buff, -10) - |
| 817 | buff)); |
| 818 | } |
| 819 | |
| 820 | |
| 821 | bool Protocol_text::store_long(longlong from) |
nothing calls this directly
no test coverage detected