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
5d2d9bfd
Commit
5d2d9bfd
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
ea3286b3
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 @
5d2d9bfd
...
...
@@ -3253,8 +3253,13 @@ cleanup:
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 @
5d2d9bfd
...
...
@@ -562,8 +562,11 @@ public:
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