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
b2c88ff8
Commit
b2c88ff8
authored
Jan 04, 2008
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - dict
remove dead code
parent
c9ecf312
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+0
-7
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
+0
-2
No files found.
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
b2c88ff8
...
@@ -4086,9 +4086,7 @@ Dbdict::execALTER_TABLE_REQ(Signal* signal)
...
@@ -4086,9 +4086,7 @@ Dbdict::execALTER_TABLE_REQ(Signal* signal)
bool
ok
=
false
;
bool
ok
=
false
;
switch
(
tabState
){
switch
(
tabState
){
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
REORG_TABLE_PREPARED
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
CHECKED
:
jam
();
jam
();
alterTableRef
(
signal
,
req
,
AlterTableRef
::
NoSuchTable
);
alterTableRef
(
signal
,
req
,
AlterTableRef
::
NoSuchTable
);
return
;
return
;
...
@@ -4339,9 +4337,7 @@ Dbdict::execALTER_TAB_REQ(Signal * signal)
...
@@ -4339,9 +4337,7 @@ Dbdict::execALTER_TAB_REQ(Signal * signal)
bool
ok
=
false
;
bool
ok
=
false
;
switch
(
tabState
){
switch
(
tabState
){
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
REORG_TABLE_PREPARED
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
CHECKED
:
jam
();
jam
();
alterTabRef
(
signal
,
req
,
AlterTableRef
::
NoSuchTable
);
alterTabRef
(
signal
,
req
,
AlterTableRef
::
NoSuchTable
);
return
;
return
;
...
@@ -6690,9 +6686,7 @@ Dbdict::execDROP_TABLE_REQ(Signal* signal){
...
@@ -6690,9 +6686,7 @@ Dbdict::execDROP_TABLE_REQ(Signal* signal){
bool
ok
=
false
;
bool
ok
=
false
;
switch
(
tabState
){
switch
(
tabState
){
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
NOT_DEFINED
:
case
TableRecord
:
:
REORG_TABLE_PREPARED
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
CHECKED
:
jam
();
jam
();
dropTableRef
(
signal
,
req
,
DropTableRef
::
NoSuchTable
);
dropTableRef
(
signal
,
req
,
DropTableRef
::
NoSuchTable
);
return
;
return
;
...
@@ -7718,7 +7712,6 @@ Dbdict::execLIST_TABLES_REQ(Signal* signal)
...
@@ -7718,7 +7712,6 @@ Dbdict::execLIST_TABLES_REQ(Signal* signal)
if
(
DictTabInfo
::
isTable
(
type
)){
if
(
DictTabInfo
::
isTable
(
type
)){
switch
(
tablePtr
.
p
->
tabState
)
{
switch
(
tablePtr
.
p
->
tabState
)
{
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
DEFINING
:
case
TableRecord
:
:
CHECKED
:
conf
->
setTableState
(
pos
,
DictTabInfo
::
StateBuilding
);
conf
->
setTableState
(
pos
,
DictTabInfo
::
StateBuilding
);
break
;
break
;
case
TableRecord
:
:
PREPARE_DROPPING
:
case
TableRecord
:
:
PREPARE_DROPPING
:
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
View file @
b2c88ff8
...
@@ -320,9 +320,7 @@ public:
...
@@ -320,9 +320,7 @@ public:
enum
TabState
{
enum
TabState
{
NOT_DEFINED
=
0
,
NOT_DEFINED
=
0
,
REORG_TABLE_PREPARED
=
1
,
DEFINING
=
2
,
DEFINING
=
2
,
CHECKED
=
3
,
DEFINED
=
4
,
DEFINED
=
4
,
PREPARE_DROPPING
=
5
,
PREPARE_DROPPING
=
5
,
DROPPING
=
6
,
DROPPING
=
6
,
...
...
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