| 1465 | |
| 1466 | |
| 1467 | bool Protocol_text::store_numeric_string_aux(const char *from, size_t length) |
| 1468 | { |
| 1469 | CHARSET_INFO *tocs= thd->variables.character_set_results; |
| 1470 | // 'tocs' is NULL when the client issues SET character_set_results=NULL |
| 1471 | if (tocs && (tocs->state & MY_CS_NONASCII)) // Conversion needed |
| 1472 | return net_store_data_cs((uchar*) from, length, &my_charset_latin1, tocs); |
| 1473 | return net_store_data((uchar*) from, length); // No conversion |
| 1474 | } |
| 1475 | |
| 1476 | |
| 1477 | bool Protocol::store_warning(const char *from, size_t length) |
nothing calls this directly
no test coverage detected