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
5939b37f
Commit
5939b37f
authored
Jul 21, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-push
parents
99744a9f
a7830ed9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+6
-1
No files found.
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
5939b37f
...
@@ -2918,6 +2918,7 @@ Dbdict::execALTER_TABLE_REQ(Signal* signal)
...
@@ -2918,6 +2918,7 @@ Dbdict::execALTER_TABLE_REQ(Signal* signal)
alterTabPtr
.
p
->
m_coordinatorRef
=
reference
();
alterTabPtr
.
p
->
m_coordinatorRef
=
reference
();
alterTabPtr
.
p
->
m_fragmentsPtrI
=
RNIL
;
alterTabPtr
.
p
->
m_fragmentsPtrI
=
RNIL
;
alterTabPtr
.
p
->
m_dihAddFragPtr
=
RNIL
;
alterTabPtr
.
p
->
m_dihAddFragPtr
=
RNIL
;
alterTabPtr
.
p
->
m_alterTableId
=
tablePtr
.
p
->
tableId
;
// Send prepare request to all alive nodes
// Send prepare request to all alive nodes
SimplePropertiesSectionWriter
w
(
getSectionSegmentPool
());
SimplePropertiesSectionWriter
w
(
getSectionSegmentPool
());
...
@@ -2951,7 +2952,7 @@ Dbdict::alterTable_backup_mutex_locked(Signal* signal,
...
@@ -2951,7 +2952,7 @@ Dbdict::alterTable_backup_mutex_locked(Signal* signal,
ndbrequire
(
c_opCreateTable
.
find
(
alterTabPtr
,
callbackData
));
ndbrequire
(
c_opCreateTable
.
find
(
alterTabPtr
,
callbackData
));
TableRecordPtr
tablePtr
;
TableRecordPtr
tablePtr
;
c_tableRecordPool
.
getPtr
(
tablePtr
,
alterTabPtr
.
p
->
m_
tablePtrI
,
true
);
c_tableRecordPool
.
getPtr
(
tablePtr
,
alterTabPtr
.
p
->
m_
alterTableId
,
true
);
Mutex
mutex
(
signal
,
c_mutexMgr
,
alterTabPtr
.
p
->
m_startLcpMutex
);
Mutex
mutex
(
signal
,
c_mutexMgr
,
alterTabPtr
.
p
->
m_startLcpMutex
);
mutex
.
unlock
();
// ignore response
mutex
.
unlock
();
// ignore response
...
@@ -2969,6 +2970,10 @@ Dbdict::alterTable_backup_mutex_locked(Signal* signal,
...
@@ -2969,6 +2970,10 @@ Dbdict::alterTable_backup_mutex_locked(Signal* signal,
req
->
senderData
=
alterTabPtr
.
p
->
m_senderData
;
req
->
senderData
=
alterTabPtr
.
p
->
m_senderData
;
req
->
senderRef
=
alterTabPtr
.
p
->
m_senderRef
;
req
->
senderRef
=
alterTabPtr
.
p
->
m_senderRef
;
alterTableRef
(
signal
,
req
,
AlterTableRef
::
BackupInProgress
);
alterTableRef
(
signal
,
req
,
AlterTableRef
::
BackupInProgress
);
c_tableRecordPool
.
getPtr
(
tablePtr
,
alterTabPtr
.
p
->
m_tablePtrI
);
releaseTableObject
(
tablePtr
.
i
,
false
);
c_opCreateTable
.
release
(
alterTabPtr
);
c_opCreateTable
.
release
(
alterTabPtr
);
c_blockState
=
BS_IDLE
;
c_blockState
=
BS_IDLE
;
return
;
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