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
9ca7dd62
Commit
9ca7dd62
authored
May 22, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - dbacc
remove too strong assertion
parent
84bb24f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+0
-35
No files found.
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
View file @
9ca7dd62
...
...
@@ -1688,21 +1688,6 @@ Dbacc::validate_lock_queue(OperationrecPtr opPtr)
}
}
bool
exists
=
true
;
switch
(
loPtr
.
p
->
m_op_bits
&
Operationrec
::
OP_MASK
){
case
ZREAD
:
case
ZINSERT
:
case
ZUPDATE
:
case
ZSCAN_OP
:
exists
=
true
;
break
;
case
ZDELETE
:
exists
=
false
;
break
;
case
ZWRITE
:
vlqrequire
(
false
);
}
// Validate parallel queue
{
bool
many
=
false
;
...
...
@@ -1754,26 +1739,6 @@ Dbacc::validate_lock_queue(OperationrecPtr opPtr)
{
vlqrequire
(
orlockmode
==
0
);
}
if
(
opstate
==
Operationrec
::
OP_STATE_RUNNING
||
opstate
==
Operationrec
::
OP_STATE_EXECUTED
)
{
switch
(
lastP
.
p
->
m_op_bits
&
Operationrec
::
OP_MASK
){
case
ZREAD
:
case
ZUPDATE
:
case
ZSCAN_OP
:
vlqrequire
(
exists
);
break
;
case
ZDELETE
:
vlqrequire
(
exists
);
exists
=
false
;
break
;
case
ZINSERT
:
vlqrequire
(
!
exists
);
exists
=
true
;
break
;
}
}
}
if
(
lastP
.
i
!=
loPtr
.
i
)
...
...
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