mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
Bug#25058 ignored return codes in memory allocation functions
memory allocation error checks added for functions
calling insert_dynamic()
per-file messages:
myisam/mi_delete.c
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
myisam/mi_write.c
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
server-tools/instance-manager/instance_options.cc
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/slave.cc
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sp_head.cc
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sp_head.h
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sp_pcontext.cc
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sp_pcontext.h
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sql_select.cc
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
sql/sql_yacc.yy
Bug#25058 ignored return codes in memory allocation functions
out-of-memory errors handled
This commit is contained in:
parent
1cd8b9f700
commit
d445b215d1
10 changed files with 167 additions and 133 deletions
|
|
@ -522,8 +522,7 @@ int Instance_options::add_option(const char* option)
|
|||
switch (selected_options->type) {
|
||||
case SAVE_WHOLE_AND_ADD:
|
||||
*(selected_options->value)= tmp;
|
||||
insert_dynamic(&options_array,(gptr) &tmp);
|
||||
return 0;
|
||||
return insert_dynamic(&options_array,(gptr) &tmp);
|
||||
case SAVE_VALUE:
|
||||
*(selected_options->value)= strchr(tmp, '=') + 1;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue