| 904 | |
| 905 | |
| 906 | bool Protocol_text::store_date(MYSQL_TIME *tm) |
| 907 | { |
| 908 | #ifndef DBUG_OFF |
| 909 | DBUG_ASSERT(field_types == 0 || |
| 910 | field_types[field_pos] == MYSQL_TYPE_DATE); |
| 911 | field_pos++; |
| 912 | #endif |
| 913 | char buff[MAX_DATE_STRING_REP_LENGTH]; |
| 914 | size_t length= my_date_to_str(tm, buff); |
| 915 | return net_store_data((uchar*) buff, length); |
| 916 | } |
| 917 | |
| 918 | |
| 919 | bool Protocol_text::store_time(MYSQL_TIME *tm, uint decimals) |
nothing calls this directly
no test coverage detected