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
caa8bbae
Commit
caa8bbae
authored
Sep 28, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetic
parent
2c507460
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+5
-7
No files found.
sql/ha_ndbcluster.cc
View file @
caa8bbae
...
...
@@ -819,17 +819,15 @@ void ha_ndbcluster::release_metadata()
int
ha_ndbcluster
::
get_ndb_lock_type
(
enum
thr_lock_type
type
)
{
int
lm
;
if
(
type
>=
TL_WRITE_ALLOW_WRITE
)
lm
=
NdbOperation
::
LM_Exclusive
;
if
(
type
==
TL_WRITE_ALLOW_WRITE
)
return
NdbOperation
::
LM_Exclusive
;
else
if
(
uses_blob_value
(
retrieve_all_fields
))
/*
TODO use a new scan mode to read + lock + keyinfo
*/
lm
=
NdbOperation
::
LM_Exclusive
;
return
NdbOperation
::
LM_Exclusive
;
else
lm
=
NdbOperation
::
LM_CommittedRead
;
return
lm
;
return
NdbOperation
::
LM_CommittedRead
;
}
static
const
ulong
index_type_flags
[]
=
...
...
@@ -4135,7 +4133,7 @@ ndb_get_table_statistics(Ndb* ndb, const char * table,
if
(
pOp
==
NULL
)
break
;
NdbResultSet
*
rs
=
pOp
->
readTuples
(
Ndb
ScanOperation
::
LM_Dirty
);
NdbResultSet
*
rs
=
pOp
->
readTuples
(
Ndb
Operation
::
LM_CommittedRead
);
if
(
rs
==
0
)
break
;
...
...
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