MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / crypto_transform

Method crypto_transform

sql/item_strfunc.cc:1660–1664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1658}
1659
1660void Item_func_encode::crypto_transform(String *res)
1661{
1662 sql_crypt.encode((char*) res->ptr(),res->length());
1663 res->set_charset(&my_charset_bin);
1664}
1665
1666void Item_func_decode::crypto_transform(String *res)
1667{

Callers

nothing calls this directly

Calls 5

encodeMethod · 0.80
decodeMethod · 0.80
ptrMethod · 0.45
lengthMethod · 0.45
set_charsetMethod · 0.45

Tested by

no test coverage detected