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
206cc88b
Commit
206cc88b
authored
Jul 23, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed bulk insert to only be statement wise
parent
564b2736
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+4
-4
No files found.
sql/ha_ndbcluster.cc
View file @
206cc88b
...
...
@@ -1233,8 +1233,6 @@ int ha_ndbcluster::update_row(const byte *old_data, byte *new_data)
DBUG_RETURN
(
read_res
);
}
// Insert new row
rows_inserted
=
0
;
rows_to_insert
=
1
;
int
insert_res
=
write_row
(
new_data
);
if
(
!
insert_res
)
{
...
...
@@ -1338,7 +1336,7 @@ int ha_ndbcluster::delete_row(const byte *record)
/*
We are scanning records and want to delete the record
that was just found, call deleteTuple on the cursor
to take over the lock to a new
update
delete operation
to take over the lock to a new delete operation
And thus setting the primary key of the record from
the active record in cursor
*/
...
...
@@ -2010,6 +2008,8 @@ void ha_ndbcluster::start_bulk_insert(ha_rows rows)
int
ha_ndbcluster
::
end_bulk_insert
()
{
DBUG_ENTER
(
"end_bulk_insert"
);
rows_inserted
=
0
;
rows_to_insert
=
1
;
DBUG_RETURN
(
0
);
}
...
...
@@ -2716,7 +2716,7 @@ ha_ndbcluster::ha_ndbcluster(TABLE *table_arg):
HA_NO_BLOBS
),
m_use_write
(
false
),
retrieve_all_fields
(
FALSE
),
rows_to_insert
(
0
),
rows_to_insert
(
1
),
rows_inserted
(
0
),
bulk_insert_rows
(
1024
),
ops_pending
(
0
)
...
...
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