diff options
author | cmiller@zippy.(none) <> | 2006-06-14 14:18:42 -0400 |
---|---|---|
committer | cmiller@zippy.(none) <> | 2006-06-14 14:18:42 -0400 |
commit | 178bb4bc6f5fe7b71893fc0e0749fd56c48389aa (patch) | |
tree | e09f6048c458e15e02dc8b54979e48f0e26e6272 /sql/sp_head.cc | |
parent | 0754cb788b9c1f8f29c4239e4d3611303d3dce4e (diff) | |
download | mariadb-git-178bb4bc6f5fe7b71893fc0e0749fd56c48389aa.tar.gz |
Bug#19262: internal function create_typelib() uses DBUG_ENTER() but not DBUG_RETURN
Trivial replacement of return with DBUG_RETURN.
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index 3b29a841966..14295072fff 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -565,7 +565,7 @@ create_typelib(MEM_ROOT *mem_root, create_field *field_def, List<String> *src) result->name= ""; if (!(result->type_names=(const char **) alloc_root(mem_root,(sizeof(char *)+sizeof(int))*(result->count+1)))) - return 0; + DBUG_RETURN(0); result->type_lengths= (unsigned int *)(result->type_names + result->count+1); List_iterator<String> it(*src); String conv; @@ -599,7 +599,7 @@ create_typelib(MEM_ROOT *mem_root, create_field *field_def, List<String> *src) result->type_names[result->count]= 0; result->type_lengths[result->count]= 0; } - return result; + DBUG_RETURN(result); } |