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
972723b0
Commit
972723b0
authored
Jan 13, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
parents
8c6a32b9
aa6400a3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
ndb/src/kernel/blocks/ERROR_codes.txt
ndb/src/kernel/blocks/ERROR_codes.txt
+3
-1
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+9
-0
ndb/test/ndbapi/testDataBuffers.cpp
ndb/test/ndbapi/testDataBuffers.cpp
+20
-7
No files found.
ndb/src/kernel/blocks/ERROR_codes.txt
View file @
972723b0
...
@@ -3,7 +3,7 @@ Next NDBCNTR 1000
...
@@ -3,7 +3,7 @@ Next NDBCNTR 1000
Next NDBFS 2000
Next NDBFS 2000
Next DBACC 3002
Next DBACC 3002
Next DBTUP 4013
Next DBTUP 4013
Next DBLQH 504
2
Next DBLQH 504
3
Next DBDICT 6006
Next DBDICT 6006
Next DBDIH 7174
Next DBDIH 7174
Next DBTC 8037
Next DBTC 8037
...
@@ -312,6 +312,8 @@ LQH:
...
@@ -312,6 +312,8 @@ LQH:
5026 Crash when receiving COPY_ACTIVEREQ
5026 Crash when receiving COPY_ACTIVEREQ
5027 Crash when receiving STAT_RECREQ
5027 Crash when receiving STAT_RECREQ
5042 Crash starting node, when scan is finished on primary replica
Test Crashes in handling take over
Test Crashes in handling take over
----------------------------------
----------------------------------
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
972723b0
...
@@ -9220,6 +9220,15 @@ void Dblqh::nextScanConfCopyLab(Signal* signal)
...
@@ -9220,6 +9220,15 @@ void Dblqh::nextScanConfCopyLab(Signal* signal)
// completion. Signal completion through scanCompletedStatus-flag.
// completion. Signal completion through scanCompletedStatus-flag.
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
scanptr
.
p
->
scanCompletedStatus
=
ZTRUE
;
scanptr
.
p
->
scanCompletedStatus
=
ZTRUE
;
scanptr
.
p
->
scanState
=
ScanRecord
::
WAIT_LQHKEY_COPY
;
if
(
ERROR_INSERTED
(
5042
))
{
CLEAR_ERROR_INSERT_VALUE
;
tcConnectptr
.
p
->
copyCountWords
=
~
0
;
signal
->
theData
[
0
]
=
9999
;
sendSignal
(
numberToRef
(
CMVMI
,
scanptr
.
p
->
scanNodeId
),
GSN_NDB_TAMPER
,
signal
,
1
,
JBA
);
}
return
;
return
;
}
//if
}
//if
...
...
ndb/test/ndbapi/testDataBuffers.cpp
View file @
972723b0
...
@@ -254,12 +254,6 @@ testcase(int flag)
...
@@ -254,12 +254,6 @@ testcase(int flag)
ndbout
<<
"tab="
<<
tab
<<
" cols="
<<
attrcnt
ndbout
<<
"tab="
<<
tab
<<
" cols="
<<
attrcnt
<<
" size max="
<<
smax
<<
" tot="
<<
stot
<<
endl
;
<<
" size max="
<<
smax
<<
" tot="
<<
stot
<<
endl
;
ndb
=
new
Ndb
(
"TEST_DB"
);
if
(
ndb
->
init
()
!=
0
)
return
ndberror
(
"init"
);
if
(
ndb
->
waitUntilReady
(
30
)
<
0
)
return
ndberror
(
"waitUntilReady"
);
if
((
tcon
=
NdbSchemaCon
::
startSchemaTrans
(
ndb
))
==
0
)
if
((
tcon
=
NdbSchemaCon
::
startSchemaTrans
(
ndb
))
==
0
)
return
ndberror
(
"startSchemaTransaction"
);
return
ndberror
(
"startSchemaTransaction"
);
if
((
top
=
tcon
->
getNdbSchemaOp
())
==
0
)
if
((
top
=
tcon
->
getNdbSchemaOp
())
==
0
)
...
@@ -541,7 +535,6 @@ testcase(int flag)
...
@@ -541,7 +535,6 @@ testcase(int flag)
return
ndberror
(
"key %d not found"
,
k
);
return
ndberror
(
"key %d not found"
,
k
);
ndbout
<<
"scanned "
<<
key
<<
endl
;
ndbout
<<
"scanned "
<<
key
<<
endl
;
ndb
=
0
;
ndbout
<<
"done"
<<
endl
;
ndbout
<<
"done"
<<
endl
;
return
0
;
return
0
;
}
}
...
@@ -605,7 +598,23 @@ NDB_COMMAND(testDataBuffers, "testDataBuffers", "testDataBuffers", "testDataBuff
...
@@ -605,7 +598,23 @@ NDB_COMMAND(testDataBuffers, "testDataBuffers", "testDataBuffers", "testDataBuff
return
NDBT_ProgramExit
(
NDBT_WRONGARGS
);
return
NDBT_ProgramExit
(
NDBT_WRONGARGS
);
}
}
}
}
unsigned
ok
=
true
;
unsigned
ok
=
true
;
ndb
=
new
Ndb
(
"TEST_DB"
);
if
(
ndb
->
init
()
!=
0
)
{
ndberror
(
"init"
);
ok
=
false
;
goto
out
;
}
if
(
ndb
->
waitUntilReady
(
30
)
<
0
)
{
ndberror
(
"waitUntilReady"
);
ok
=
false
;
goto
out
;
}
for
(
i
=
1
;
0
==
loopcnt
||
i
<=
loopcnt
;
i
++
)
{
for
(
i
=
1
;
0
==
loopcnt
||
i
<=
loopcnt
;
i
++
)
{
ndbout
<<
"=== loop "
<<
i
<<
" ==="
<<
endl
;
ndbout
<<
"=== loop "
<<
i
<<
" ==="
<<
endl
;
for
(
int
flag
=
0
;
flag
<
(
1
<<
testbits
);
flag
++
)
{
for
(
int
flag
=
0
;
flag
<
(
1
<<
testbits
);
flag
++
)
{
...
@@ -614,9 +623,13 @@ NDB_COMMAND(testDataBuffers, "testDataBuffers", "testDataBuffers", "testDataBuff
...
@@ -614,9 +623,13 @@ NDB_COMMAND(testDataBuffers, "testDataBuffers", "testDataBuffers", "testDataBuff
if
(
!
kontinue
)
if
(
!
kontinue
)
goto
out
;
goto
out
;
}
}
NdbDictionary
::
Dictionary
*
dict
=
ndb
->
getDictionary
();
dict
->
dropTable
(
tab
);
}
}
}
}
out:
out:
delete
ndb
;
return
NDBT_ProgramExit
(
ok
?
NDBT_OK
:
NDBT_FAILED
);
return
NDBT_ProgramExit
(
ok
?
NDBT_OK
:
NDBT_FAILED
);
}
}
...
...
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