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
f8778b2c
Commit
f8778b2c
authored
Aug 15, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bugs
parent
e51de97e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
+6
-0
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
+2
-0
ndb/test/src/NDBT_Tables.cpp
ndb/test/src/NDBT_Tables.cpp
+7
-4
No files found.
ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp
View file @
f8778b2c
...
...
@@ -139,6 +139,12 @@ void Dbtup::initializePage()
pagePtr
.
i
=
0
;
ptrAss
(
pagePtr
,
page
);
pagePtr
.
p
->
pageWord
[
ZPAGE_STATE_POS
]
=
~
ZFREE_COMMON
;
for
(
size_t
j
=
0
;
j
<
MAX_PARALLELL_TUP_SRREQ
;
j
++
){
pagePtr
.
i
=
1
+
j
;
ptrAss
(
pagePtr
,
page
);
pagePtr
.
p
->
pageWord
[
ZPAGE_STATE_POS
]
=
~
ZFREE_COMMON
;
}
Uint32
tmp
=
1
+
MAX_PARALLELL_TUP_SRREQ
;
returnCommonArea
(
tmp
,
cnoOfPage
-
tmp
);
...
...
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
View file @
f8778b2c
...
...
@@ -1613,6 +1613,7 @@ void Ndbcntr::startInsertTransactions(Signal* signal)
ckey
=
1
;
ctransidPhase
=
ZTRUE
;
signal
->
theData
[
0
]
=
0
;
signal
->
theData
[
1
]
=
reference
();
sendSignal
(
DBTC_REF
,
GSN_TCSEIZEREQ
,
signal
,
2
,
JBB
);
return
;
...
...
@@ -1740,6 +1741,7 @@ void Ndbcntr::crSystab8Lab(Signal* signal)
}
//if
signal
->
theData
[
0
]
=
ctcConnectionP
;
signal
->
theData
[
1
]
=
reference
();
signal
->
theData
[
2
]
=
0
;
sendSignal
(
DBTC_REF
,
GSN_TCRELEASEREQ
,
signal
,
2
,
JBB
);
return
;
}
//Ndbcntr::crSystab8Lab()
...
...
ndb/test/src/NDBT_Tables.cpp
View file @
f8778b2c
...
...
@@ -806,8 +806,9 @@ NDBT_Tables::createAllTables(Ndb* pNdb, bool _temp, bool existsOk){
pNdb
->
getDictionary
()
->
dropTable
(
NDBT_Tables
::
getTable
(
i
)
->
getName
());
int
ret
=
createTable
(
pNdb
,
NDBT_Tables
::
getTable
(
i
)
->
getName
(),
_temp
,
existsOk
);
if
(
ret
)
if
(
ret
)
{
return
ret
;
}
}
return
NDBT_OK
;
}
...
...
@@ -836,15 +837,17 @@ NDBT_Tables::createTable(Ndb* pNdb, const char* _name, bool _temp,
r
=
pNdb
->
getDictionary
()
->
createTable
(
tmpTab
);
if
(
r
==
-
1
){
if
(
!
existsOk
)
if
(
!
existsOk
){
ndbout
<<
"Error: "
<<
pNdb
->
getDictionary
()
->
getNdbError
()
<<
endl
;
break
;
}
if
(
pNdb
->
getDictionary
()
->
getNdbError
().
code
!=
721
){
ndbout
<<
pNdb
->
getDictionary
()
->
getNdbError
()
<<
endl
;
ndbout
<<
"Error: "
<<
pNdb
->
getDictionary
()
->
getNdbError
()
<<
endl
;
break
;
}
r
=
0
;
}
Uint32
i
=
0
;
for
(
Uint32
i
=
0
;
indexes
[
i
].
m_table
!=
0
;
i
++
){
if
(
strcmp
(
indexes
[
i
].
m_table
,
_name
)
!=
0
)
...
...
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