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
360152c8
Commit
360152c8
authored
Jul 19, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - DICT minor
parent
8cb9f0ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
ndb/src/kernel/blocks/ERROR_codes.txt
ndb/src/kernel/blocks/ERROR_codes.txt
+3
-2
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+6
-3
No files found.
ndb/src/kernel/blocks/ERROR_codes.txt
View file @
360152c8
...
...
@@ -4,9 +4,9 @@ Next NDBFS 2000
Next DBACC 3002
Next DBTUP 4013
Next DBLQH 5042
Next DBDICT 600
6
Next DBDICT 600
7
Next DBDIH 7174
Next DBTC 803
5
Next DBTC 803
7
Next CMVMI 9000
Next BACKUP 10022
Next DBUTIL 11002
...
...
@@ -413,6 +413,7 @@ Drop Table/Index:
8034: Fail next index create in TC
8035: Fail next trigger drop in TC
8036: Fail next index drop in TC
6006: Crash participant in create index
System Restart:
---------------
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
360152c8
...
...
@@ -6468,6 +6468,9 @@ void
Dbdict
::
createIndex_slavePrepare
(
Signal
*
signal
,
OpCreateIndexPtr
opPtr
)
{
jam
();
if
(
ERROR_INSERTED
(
6006
)
&&
!
opPtr
.
p
->
m_isMaster
)
{
ndbrequire
(
false
);
}
}
void
...
...
@@ -9668,7 +9671,7 @@ Dbdict::alterIndex_toDropTc(Signal* signal, OpAlterIndexPtr opPtr)
// broken index allowed if force
if
(
!
(
indexPtr
.
p
->
indexLocal
&
TableRecord
::
IL_CREATED_TC
))
{
jam
();
ndb
require
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
ndb
assert
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
alterIndex_sendReply
(
signal
,
opPtr
,
false
);
return
;
}
...
...
@@ -11719,7 +11722,7 @@ Dbdict::alterTrigger_toDropLocal(Signal* signal, OpAlterTriggerPtr opPtr)
// broken trigger allowed if force
if
(
!
(
triggerPtr
.
p
->
triggerLocal
&
TriggerRecord
::
TL_CREATED_TC
))
{
jam
();
ndb
require
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
ndb
assert
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
alterTrigger_sendReply
(
signal
,
opPtr
,
false
);
return
;
}
...
...
@@ -11729,7 +11732,7 @@ Dbdict::alterTrigger_toDropLocal(Signal* signal, OpAlterTriggerPtr opPtr)
// broken trigger allowed if force
if
(
!
(
triggerPtr
.
p
->
triggerLocal
&
TriggerRecord
::
TL_CREATED_LQH
))
{
jam
();
ndb
require
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
ndb
assert
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
alterTrigger_sendReply
(
signal
,
opPtr
,
false
);
return
;
}
...
...
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