| 917 | |
| 918 | |
| 919 | bool Protocol_text::store_time(MYSQL_TIME *tm, uint decimals) |
| 920 | { |
| 921 | #ifndef DBUG_OFF |
| 922 | DBUG_ASSERT(field_types == 0 || |
| 923 | field_types[field_pos] == MYSQL_TYPE_TIME); |
| 924 | field_pos++; |
| 925 | #endif |
| 926 | char buff[MAX_DATE_STRING_REP_LENGTH]; |
| 927 | uint length= my_time_to_str(tm, buff, decimals); |
| 928 | return net_store_data((uchar*) buff, length); |
| 929 | } |
| 930 | |
| 931 | /**************************************************************************** |
| 932 | Functions to handle the binary protocol used with prepared statements |
nothing calls this directly
no test coverage detected