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
4990d188
Commit
4990d188
authored
Apr 17, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#206 support mariadb 10.0.10 start_bulk_insert api change
parent
3888ebc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
storage/tokudb/ha_tokudb.cc
storage/tokudb/ha_tokudb.cc
+6
-1
storage/tokudb/ha_tokudb.h
storage/tokudb/ha_tokudb.h
+4
-1
No files found.
storage/tokudb/ha_tokudb.cc
View file @
4990d188
...
...
@@ -3253,8 +3253,13 @@ bool ha_tokudb::may_table_be_empty(DB_TXN *txn) {
return
ret_val
;
}
#if MYSQL_VERSION_ID >= 100000
void
ha_tokudb
::
start_bulk_insert
(
ha_rows
rows
,
uint
flags
)
{
TOKUDB_HANDLER_DBUG_ENTER
(
"%llu %u txn %p"
,
(
unsigned
long
long
)
rows
,
flags
,
transaction
);
#else
void
ha_tokudb
::
start_bulk_insert
(
ha_rows
rows
)
{
TOKUDB_HANDLER_DBUG_ENTER
(
"txn %p"
,
transaction
);
TOKUDB_HANDLER_DBUG_ENTER
(
"%llu txn %p"
,
(
unsigned
long
long
)
rows
,
transaction
);
#endif
THD
*
thd
=
ha_thd
();
tokudb_trx_data
*
trx
=
(
tokudb_trx_data
*
)
thd_data_get
(
thd
,
tokudb_hton
->
slot
);
delay_updating_ai_metadata
=
true
;
...
...
storage/tokudb/ha_tokudb.h
View file @
4990d188
...
...
@@ -562,8 +562,11 @@ class ha_tokudb : public handler {
int
write_row
(
uchar
*
buf
);
int
update_row
(
const
uchar
*
old_data
,
uchar
*
new_data
);
int
delete_row
(
const
uchar
*
buf
);
#if MYSQL_VERSION_ID >= 100000
void
start_bulk_insert
(
ha_rows
rows
,
uint
flags
);
#else
void
start_bulk_insert
(
ha_rows
rows
);
#endif
int
end_bulk_insert
();
int
end_bulk_insert
(
bool
abort
);
...
...
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