| 356 | const std::vector<FunctionContext::TypeDesc> FunctionCtxGuard::arg_types; |
| 357 | |
| 358 | bool StringValEqualsStr(const StringVal& string_val, const std::string& str) { |
| 359 | return str.length() == string_val.len && |
| 360 | std::memcmp(str.c_str(), string_val.ptr, str.length()) == 0; |
| 361 | } |
| 362 | |
| 363 | void CheckStringValCopyFromSucceeds(const std::string& str) { |
| 364 | FunctionCtxGuard ctx_guard; |
no test coverage detected