MCPcopy Create free account
hub / github.com/MariaDB/server / realloc

Method realloc

sql/sql_string.h:748–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746 bool real_alloc(size_t arg_length); // Empties old string
747 bool realloc_raw(size_t arg_length);
748 bool realloc(size_t arg_length)
749 {
750 if (realloc_raw(arg_length+1))
751 return TRUE;
752 Ptr[arg_length]= 0; // This make other funcs shorter
753 return FALSE;
754 }
755 bool realloc_with_extra(size_t arg_length)
756 {
757 if (extra_alloc < 4096)

Callers 9

realloc_resultMethod · 0.45
val_strMethod · 0.45
net_store_dataMethod · 0.45
net_store_data_csMethod · 0.45
store_field_metadataMethod · 0.45
print_item_valueMethod · 0.45
prepend_zerosMethod · 0.45
copy_if_not_allocedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected