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

Method charpos

sql/sql_string.cc:583–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583int String::charpos(int i,uint32 offset)
584{
585 if (i <= 0)
586 return i;
587 return str_charset->cset->charpos(str_charset,Ptr+offset,Ptr+str_length,i);
588}
589
590int String::strstr(const String &s,uint32 offset)
591{

Callers 2

val_strMethod · 0.80
validate_comment_lengthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected