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
8d756c5b
Commit
8d756c5b
authored
Jan 02, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
parents
4b3b1fc0
805655d8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
3 deletions
+28
-3
mysql-test/r/ndb_bitfield.result
mysql-test/r/ndb_bitfield.result
+6
-0
mysql-test/t/ndb_bitfield.test
mysql-test/t/ndb_bitfield.test
+8
-0
ndb/include/util/Bitmask.hpp
ndb/include/util/Bitmask.hpp
+2
-2
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
No files found.
mysql-test/r/ndb_bitfield.result
View file @
8d756c5b
...
@@ -208,3 +208,9 @@ b bit(9),
...
@@ -208,3 +208,9 @@ b bit(9),
key(b)
key(b)
) engine=ndbcluster;
) engine=ndbcluster;
ERROR HY000: Can't create table './test/t1.frm' (errno: 743)
ERROR HY000: Can't create table './test/t1.frm' (errno: 743)
create table t1 (
pk1 int primary key,
b bit(32) not null
) engine=ndbcluster;
insert into t1 values (1,1);
drop table t1;
mysql-test/t/ndb_bitfield.test
View file @
8d756c5b
...
@@ -112,3 +112,11 @@ create table t1 (
...
@@ -112,3 +112,11 @@ create table t1 (
key
(
b
)
key
(
b
)
)
engine
=
ndbcluster
;
)
engine
=
ndbcluster
;
# bug#16125
create
table
t1
(
pk1
int
primary
key
,
b
bit
(
32
)
not
null
)
engine
=
ndbcluster
;
insert
into
t1
values
(
1
,
1
);
drop
table
t1
;
ndb/include/util/Bitmask.hpp
View file @
8d756c5b
...
@@ -814,7 +814,7 @@ inline void
...
@@ -814,7 +814,7 @@ inline void
BitmaskImpl
::
getField
(
unsigned
size
,
const
Uint32
src
[],
BitmaskImpl
::
getField
(
unsigned
size
,
const
Uint32
src
[],
unsigned
pos
,
unsigned
len
,
Uint32
dst
[])
unsigned
pos
,
unsigned
len
,
Uint32
dst
[])
{
{
assert
(
pos
+
len
<
(
size
<<
5
));
assert
(
pos
+
len
<
=
(
size
<<
5
));
src
+=
(
pos
>>
5
);
src
+=
(
pos
>>
5
);
Uint32
offset
=
pos
&
31
;
Uint32
offset
=
pos
&
31
;
...
@@ -833,7 +833,7 @@ inline void
...
@@ -833,7 +833,7 @@ inline void
BitmaskImpl
::
setField
(
unsigned
size
,
Uint32
dst
[],
BitmaskImpl
::
setField
(
unsigned
size
,
Uint32
dst
[],
unsigned
pos
,
unsigned
len
,
const
Uint32
src
[])
unsigned
pos
,
unsigned
len
,
const
Uint32
src
[])
{
{
assert
(
pos
+
len
<
(
size
<<
5
));
assert
(
pos
+
len
<
=
(
size
<<
5
));
dst
+=
(
pos
>>
5
);
dst
+=
(
pos
>>
5
);
Uint32
offset
=
pos
&
31
;
Uint32
offset
=
pos
&
31
;
...
...
ndb/src/kernel/blocks/ERROR_codes.txt
View file @
8d756c5b
...
@@ -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 6007
Next DBDICT 6007
Next DBDIH 7174
Next DBDIH 7174
Next DBTC 8037
Next DBTC 8037
...
@@ -314,6 +314,8 @@ LQH:
...
@@ -314,6 +314,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 @
8d756c5b
...
@@ -9264,6 +9264,15 @@ void Dblqh::nextScanConfCopyLab(Signal* signal)
...
@@ -9264,6 +9264,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
...
...
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