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
3f0096f9
Commit
3f0096f9
authored
Sep 29, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCRUM
WL604 Privilegies in embedded library another bug fixed
parent
9612ca5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
sql/sql_parse.cc
sql/sql_parse.cc
+3
-6
No files found.
sql/sql_parse.cc
View file @
3f0096f9
...
@@ -2415,6 +2415,8 @@ mysql_execute_command(THD *thd)
...
@@ -2415,6 +2415,8 @@ mysql_execute_command(THD *thd)
if
(
single_table_command_access
(
thd
,
privilege
,
tables
,
&
res
))
if
(
single_table_command_access
(
thd
,
privilege
,
tables
,
&
res
))
goto
error
;
goto
error
;
#else
my_bool
update
=
(
lex
->
value_list
.
elements
?
1
:
0
);
#endif
#endif
if
(
select_lex
->
item_list
.
elements
!=
lex
->
value_list
.
elements
)
if
(
select_lex
->
item_list
.
elements
!=
lex
->
value_list
.
elements
)
{
{
...
@@ -2423,12 +2425,7 @@ mysql_execute_command(THD *thd)
...
@@ -2423,12 +2425,7 @@ mysql_execute_command(THD *thd)
}
}
res
=
mysql_insert
(
thd
,
tables
,
lex
->
field_list
,
lex
->
many_values
,
res
=
mysql_insert
(
thd
,
tables
,
lex
->
field_list
,
lex
->
many_values
,
select_lex
->
item_list
,
lex
->
value_list
,
select_lex
->
item_list
,
lex
->
value_list
,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
(
update
?
DUP_UPDATE
:
lex
->
duplicates
));
(
update
?
DUP_UPDATE
:
lex
->
duplicates
)
#else
DUP_UPDATE
#endif
);
if
(
thd
->
net
.
report_error
)
if
(
thd
->
net
.
report_error
)
res
=
-
1
;
res
=
-
1
;
break
;
break
;
...
...
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