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

Method set_buffer_if_not_allocated

sql/sql_string.h:870–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868 }
869 bool set_ascii(const char *str, size_t arg_length);
870 inline void set_buffer_if_not_allocated(char *str,size_t arg_length,
871 CHARSET_INFO *cs)
872 {
873 Binary_string::set_buffer_if_not_allocated(str, arg_length);
874 set_charset(cs);
875 }
876 bool set_int(longlong num, bool unsigned_flag, CHARSET_INFO *cs);
877 bool set(int num, CHARSET_INFO *cs) { return set_int(num, false, cs); }
878 bool set(uint num, CHARSET_INFO *cs) { return set_int(num, true, cs); }

Callers 11

end_of_recordsMethod · 0.45
save_in_fieldMethod · 0.45
verify_constraintsMethod · 0.45
reset_bufferMethod · 0.45
show_create_table_exFunction · 0.45
append_rowMethod · 0.45
addMethod · 0.45
do_field_varbinary_pre50Function · 0.45
exec_innerMethod · 0.45
set_charsetMethod · 0.45
save_str_in_fieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected