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

Method store_string_aux

sql/protocol.cc:1453–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1451*/
1452
1453bool 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
1467bool Protocol_text::store_numeric_string_aux(const char *from, size_t length)

Callers

nothing calls this directly

Calls 1

net_store_dataFunction · 0.85

Tested by

no test coverage detected