MCPcopy Index your code
hub / github.com/Meituan-Dianping/SQLAdvisor / copy

Method copy

sql/sql_string.cc:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143
144bool String::copy()
145{
146 if (!alloced)
147 {
148 Alloced_length=0; // Force realloc
149 return realloc(str_length);
150 }
151 return FALSE;
152}
153
154/**
155 Copies the internal buffer from str. If this String has a private heap

Callers

nothing calls this directly

Calls 2

copyFunction · 0.85
copy_and_convertFunction · 0.85

Tested by

no test coverage detected