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
27c8ae28
Commit
27c8ae28
authored
May 31, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#245 use row estimate parameter to start_bulk_insert to decide if a loader is used
parent
4121f119
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
storage/tokudb/ha_tokudb.cc
storage/tokudb/ha_tokudb.cc
+1
-1
No files found.
storage/tokudb/ha_tokudb.cc
View file @
27c8ae28
...
...
@@ -3250,7 +3250,7 @@ void ha_tokudb::start_bulk_insert(ha_rows rows) {
num_DBs_locked_in_bulk
=
true
;
lock_count
=
0
;
if
(
share
->
try_table_lock
)
{
if
(
(
rows
==
0
||
rows
>
1
)
&&
share
->
try_table_lock
)
{
if
(
get_prelock_empty
(
thd
)
&&
may_table_be_empty
(
transaction
))
{
if
(
using_ignore
||
is_insert_ignore
(
thd
)
||
thd
->
lex
->
duplicates
!=
DUP_ERROR
)
{
acquire_table_lock
(
transaction
,
lock_write
);
...
...
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