MCPcopy Create free account
hub / github.com/MariaDB/server / store_numeric_string_aux

Method store_numeric_string_aux

sql/protocol.cc:1467–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465
1466
1467bool 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
1477bool Protocol::store_warning(const char *from, size_t length)

Callers

nothing calls this directly

Calls 1

net_store_dataFunction · 0.85

Tested by

no test coverage detected