diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2008-11-21 17:38:42 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2008-11-21 17:38:42 +0400 |
commit | d445b215d10d1239d097d9fb362f232ec9bdb2f4 (patch) | |
tree | 0ee040b7dd3afd19bf08093c172f7445efa8e238 /sql/sp_head.h | |
parent | 1cd8b9f700a3d20e0af43896b366cef6ef0e7d4c (diff) | |
download | mariadb-git-d445b215d10d1239d097d9fb362f232ec9bdb2f4.tar.gz |
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
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index 91f465a4e2a..c54dc7401c4 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -226,7 +226,7 @@ public: int show_create_function(THD *thd); - void + int add_instr(sp_instr *instr); inline uint @@ -254,7 +254,7 @@ public: restore_lex(THD *thd); // Put the instruction on the backpatch list, associated with the label. - void + int push_backpatch(sp_instr *, struct sp_label *); // Update all instruction with this label in the backpatch list to @@ -263,11 +263,11 @@ public: backpatch(struct sp_label *); // Start a new cont. backpatch level. If 'i' is NULL, the level is just incr. - void + int new_cont_backpatch(sp_instr_opt_meta *i); // Add an instruction to the current level - void + int add_cont_backpatch(sp_instr_opt_meta *i); // Backpatch (and pop) the current level to the current position. |