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

Method free

sql/sql_string.h:306–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }
305
306 inline void free()
307 {
308 if (alloced)
309 {
310 alloced=0;
311 Alloced_length=0;
312 my_free(Ptr);
313 Ptr=0;
314 str_length=0; /* Safety */
315 }
316 }
317 inline bool alloc(uint32 arg_length)
318 {
319 if (arg_length < Alloced_length)

Callers 4

my_charset_file_freeFunction · 0.80
~in_stringMethod · 0.80
alloc_queryFunction · 0.80
resetMethod · 0.80

Calls 1

my_freeFunction · 0.85

Tested by

no test coverage detected