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
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
Show 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)
if
(
single_table_command_access
(
thd
,
privilege
,
tables
,
&
res
))
goto
error
;
#else
my_bool
update
=
(
lex
->
value_list
.
elements
?
1
:
0
);
#endif
if
(
select_lex
->
item_list
.
elements
!=
lex
->
value_list
.
elements
)
{
...
...
@@ -2423,12 +2425,7 @@ mysql_execute_command(THD *thd)
}
res
=
mysql_insert
(
thd
,
tables
,
lex
->
field_list
,
lex
->
many_values
,
select_lex
->
item_list
,
lex
->
value_list
,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
(
update
?
DUP_UPDATE
:
lex
->
duplicates
)
#else
DUP_UPDATE
#endif
);
(
update
?
DUP_UPDATE
:
lex
->
duplicates
));
if
(
thd
->
net
.
report_error
)
res
=
-
1
;
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