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
edfb639e
Commit
edfb639e
authored
Feb 07, 2020
by
Will DeVries
Committed by
Sergei Petrunia
Mar 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add found_rows parameter to direct_update_rows.
parent
c8600532
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
storage/clustrixdb/ha_clustrixdb.cc
storage/clustrixdb/ha_clustrixdb.cc
+2
-1
storage/clustrixdb/ha_clustrixdb.h
storage/clustrixdb/ha_clustrixdb.h
+1
-1
No files found.
storage/clustrixdb/ha_clustrixdb.cc
View file @
edfb639e
...
...
@@ -554,7 +554,7 @@ int ha_clustrixdb::direct_update_rows_init(List<Item> *update_fields)
DBUG_RETURN
(
0
);
}
int
ha_clustrixdb
::
direct_update_rows
(
ha_rows
*
update_rows
)
int
ha_clustrixdb
::
direct_update_rows
(
ha_rows
*
update_rows
,
ha_rows
*
found_rows
)
{
DBUG_ENTER
(
"ha_clustrixdb::direct_update_rows"
);
int
error_code
=
0
;
...
...
@@ -570,6 +570,7 @@ int ha_clustrixdb::direct_update_rows(ha_rows *update_rows)
trx
->
auto_commit_next
();
error_code
=
trx
->
update_query
(
update_stmt
,
table
->
s
->
db
,
update_rows
);
*
found_rows
=
*
update_rows
;
DBUG_RETURN
(
error_code
);
}
...
...
storage/clustrixdb/ha_clustrixdb.h
View file @
edfb639e
...
...
@@ -72,7 +72,7 @@ class ha_clustrixdb : public handler
// start_bulk_delete exec_bulk_delete
int
delete_row
(
const
uchar
*
buf
);
int
direct_update_rows_init
(
List
<
Item
>
*
update_fields
);
int
direct_update_rows
(
ha_rows
*
update_rows
);
int
direct_update_rows
(
ha_rows
*
update_rows
,
ha_rows
*
found_rows
);
void
start_bulk_insert
(
ha_rows
rows
,
uint
flags
=
0
);
int
end_bulk_insert
();
...
...
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