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
20e7e987
Commit
20e7e987
authored
Jul 25, 2007
by
anozdrin/alik@ibm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow mysql.proc to have extra (unknown) fields.
This allows 5.0 to work with 5.1 databases.
parent
0b1c6b90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sp.cc
sql/sp.cc
+2
-2
No files found.
sql/sp.cc
View file @
20e7e987
...
...
@@ -273,7 +273,7 @@ db_find_routine(THD *thd, int type, sp_name *name, sp_head **sphp)
if
((
ret
=
db_find_routine_aux
(
thd
,
type
,
name
,
table
))
!=
SP_OK
)
goto
done
;
if
(
table
->
s
->
fields
!=
MYSQL_PROC_FIELD_COUNT
)
if
(
table
->
s
->
fields
<
MYSQL_PROC_FIELD_COUNT
)
{
ret
=
SP_GET_FIELD_FAILED
;
goto
done
;
...
...
@@ -523,7 +523,7 @@ db_create_routine(THD *thd, int type, sp_head *sp)
strxmov
(
definer
,
thd
->
lex
->
definer
->
user
.
str
,
"@"
,
thd
->
lex
->
definer
->
host
.
str
,
NullS
);
if
(
table
->
s
->
fields
!=
MYSQL_PROC_FIELD_COUNT
)
if
(
table
->
s
->
fields
<
MYSQL_PROC_FIELD_COUNT
)
{
ret
=
SP_GET_FIELD_FAILED
;
goto
done
;
...
...
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