Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
178bb4bc
Commit
178bb4bc
authored
Jun 14, 2006
by
cmiller@zippy.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#19262: internal function create_typelib() uses DBUG_ENTER() but not DBUG_RETURN
Trivial replacement of return with DBUG_RETURN.
parent
0754cb78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sp_head.cc
sql/sp_head.cc
+2
-2
No files found.
sql/sp_head.cc
View file @
178bb4bc
...
@@ -565,7 +565,7 @@ create_typelib(MEM_ROOT *mem_root, create_field *field_def, List<String> *src)
...
@@ -565,7 +565,7 @@ create_typelib(MEM_ROOT *mem_root, create_field *field_def, List<String> *src)
result
->
name
=
""
;
result
->
name
=
""
;
if
(
!
(
result
->
type_names
=
(
const
char
**
)
if
(
!
(
result
->
type_names
=
(
const
char
**
)
alloc_root
(
mem_root
,(
sizeof
(
char
*
)
+
sizeof
(
int
))
*
(
result
->
count
+
1
))))
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
);
result
->
type_lengths
=
(
unsigned
int
*
)(
result
->
type_names
+
result
->
count
+
1
);
List_iterator
<
String
>
it
(
*
src
);
List_iterator
<
String
>
it
(
*
src
);
String
conv
;
String
conv
;
...
@@ -599,7 +599,7 @@ create_typelib(MEM_ROOT *mem_root, create_field *field_def, List<String> *src)
...
@@ -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_names
[
result
->
count
]
=
0
;
result
->
type_lengths
[
result
->
count
]
=
0
;
result
->
type_lengths
[
result
->
count
]
=
0
;
}
}
return
result
;
DBUG_RETURN
(
result
)
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment