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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5aed4129
Commit
5aed4129
authored
Mar 10, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More portability fixes
parent
48e33114
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
sql/sp.cc
sql/sp.cc
+5
-8
No files found.
sql/sp.cc
View file @
5aed4129
...
...
@@ -337,15 +337,12 @@ db_find_routine(THD *thd, int type, sp_name *name, sp_head **sphp)
static
void
sp_returns_type
(
THD
*
thd
,
String
&
result
,
sp_head
*
sp
)
{
struct
{
TABLE
table
;
TABLE_SHARE
share
;
}
dummy
;
Field
*
field
;
bzero
(
&
dummy
,
sizeof
(
dummy
));
dummy
.
table
.
in_use
=
thd
;
dummy
.
table
.
s
=
&
dummy
.
share
;
field
=
sp
->
make_field
(
0
,
0
,
&
dummy
.
table
);
bzero
(
&
table
,
sizeof
(
table
));
table
.
in_use
=
thd
;
table
.
s
=
&
table
.
share_not_to_be_used
;
field
=
sp
->
make_field
(
0
,
0
,
&
table
);
field
->
sql_type
(
result
);
delete
field
;
}
...
...
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