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
fc9da882
Commit
fc9da882
authored
Jun 12, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved back comment to correct method
parent
20e54ae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+12
-5
No files found.
sql/ha_ndbcluster.cc
View file @
fc9da882
...
@@ -3426,11 +3426,10 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
...
@@ -3426,11 +3426,10 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
}
}
/*
/*
Start a transaction for running a statement if one is not
Unlock the last row read in an open scan.
already running in a transaction. This will be the case in
Rows are unlocked by default in ndb, but
a BEGIN; COMMIT; block
for SELECT FOR UPDATE and SELECT LOCK WIT SHARE MODE
When using LOCK TABLE's external_lock will start a transaction
locks are kept if unlock_row() is not called.
since ndb does not currently does not support table locking
*/
*/
void
ha_ndbcluster
::
unlock_row
()
void
ha_ndbcluster
::
unlock_row
()
...
@@ -3442,6 +3441,14 @@ void ha_ndbcluster::unlock_row()
...
@@ -3442,6 +3441,14 @@ void ha_ndbcluster::unlock_row()
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
/*
Start a transaction for running a statement if one is not
already running in a transaction. This will be the case in
a BEGIN; COMMIT; block
When using LOCK TABLE's external_lock will start a transaction
since ndb does not currently does not support table locking
*/
int
ha_ndbcluster
::
start_stmt
(
THD
*
thd
)
int
ha_ndbcluster
::
start_stmt
(
THD
*
thd
)
{
{
int
error
=
0
;
int
error
=
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