| 1451 | */ |
| 1452 | |
| 1453 | bool Protocol::store_string_aux(const char *from, size_t length, |
| 1454 | CHARSET_INFO *fromcs, CHARSET_INFO *tocs) |
| 1455 | { |
| 1456 | /* 'tocs' is set 0 when client issues SET character_set_results=NULL */ |
| 1457 | if (needs_conversion(fromcs, tocs)) |
| 1458 | { |
| 1459 | /* Store with conversion */ |
| 1460 | return net_store_data_cs((uchar*) from, length, fromcs, tocs); |
| 1461 | } |
| 1462 | /* Store without conversion */ |
| 1463 | return net_store_data((uchar*) from, length); |
| 1464 | } |
| 1465 | |
| 1466 | |
| 1467 | bool Protocol_text::store_numeric_string_aux(const char *from, size_t length) |
nothing calls this directly
no test coverage detected