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
759ad1a1
Commit
759ad1a1
authored
Mar 10, 2005
by
acurtis@pcgem.rdg.cyberkinetica.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More portability fixes
parent
40cca47c
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 @
759ad1a1
...
...
@@ -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