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
67b601c5
Commit
67b601c5
authored
Jun 01, 2018
by
Eugene Kosov
Committed by
Sergey Vojtovich
Mar 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused argument
parent
8e9c5d10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
sql/sql_parse.cc
sql/sql_parse.cc
+1
-2
sql/sql_update.cc
sql/sql_update.cc
+2
-3
sql/sql_update.h
sql/sql_update.h
+1
-2
No files found.
sql/sql_parse.cc
View file @
67b601c5
...
...
@@ -4579,8 +4579,7 @@ mysql_execute_command(THD *thd)
select_lex
->
order_list
.
elements
,
select_lex
->
order_list
.
first
,
unit
->
select_limit_cnt
,
lex
->
duplicates
,
lex
->
ignore
,
&
found
,
&
updated
);
lex
->
ignore
,
&
found
,
&
updated
);
MYSQL_UPDATE_DONE
(
res
,
found
,
updated
);
/* mysql_update return 2 if we need to switch to multi-update */
if
(
up_result
!=
2
)
...
...
sql/sql_update.cc
View file @
67b601c5
...
...
@@ -279,7 +279,6 @@ static void prepare_record_for_error_message(int error, TABLE *table)
order_num number of elemen in ORDER BY clause
order ORDER BY clause list
limit limit clause
handle_duplicates how to handle duplicates
RETURN
0 - OK
...
...
@@ -294,8 +293,8 @@ int mysql_update(THD *thd,
List
<
Item
>
&
values
,
COND
*
conds
,
uint
order_num
,
ORDER
*
order
,
ha_rows
limit
,
enum
enum_duplicates
handle_duplicates
,
bool
ignore
,
ha_rows
limit
,
bool
ignore
,
ha_rows
*
found_return
,
ha_rows
*
updated_return
)
{
bool
using_limit
=
limit
!=
HA_POS_ERROR
;
...
...
sql/sql_update.h
View file @
67b601c5
...
...
@@ -31,8 +31,7 @@ bool check_unique_table(THD *thd, TABLE_LIST *table_list);
int
mysql_update
(
THD
*
thd
,
TABLE_LIST
*
tables
,
List
<
Item
>
&
fields
,
List
<
Item
>
&
values
,
COND
*
conds
,
uint
order_num
,
ORDER
*
order
,
ha_rows
limit
,
enum
enum_duplicates
handle_duplicates
,
bool
ignore
,
ha_rows
*
found_return
,
ha_rows
*
updated_return
);
bool
ignore
,
ha_rows
*
found_return
,
ha_rows
*
updated_return
);
bool
mysql_multi_update
(
THD
*
thd
,
TABLE_LIST
*
table_list
,
List
<
Item
>
*
fields
,
List
<
Item
>
*
values
,
COND
*
conds
,
ulonglong
options
,
...
...
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