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
890b19c8
Commit
890b19c8
authored
Apr 12, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
ec6476cb
3ddd25f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
mysql-test/r/ndb_dd_basic.result
mysql-test/r/ndb_dd_basic.result
+7
-0
mysql-test/t/ndb_dd_basic.test
mysql-test/t/ndb_dd_basic.test
+8
-0
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
+5
-3
No files found.
mysql-test/r/ndb_dd_basic.result
View file @
890b19c8
...
@@ -468,6 +468,13 @@ insert into t1 values(7,'x');
...
@@ -468,6 +468,13 @@ insert into t1 values(7,'x');
insert into t1 values(8,'x');
insert into t1 values(8,'x');
delete from t1 where a = 0;
delete from t1 where a = 0;
commit;
commit;
delete from t1;
begin;
insert into t1 values (1, 'x');
select * from t1;
a b
1 x
rollback;
set autocommit = 1;
set autocommit = 1;
drop table t1;
drop table t1;
create table test.t1 (f1 varchar(50) primary key, f2 text,f3 int)
create table test.t1 (f1 varchar(50) primary key, f2 text,f3 int)
...
...
mysql-test/t/ndb_dd_basic.test
View file @
890b19c8
...
@@ -407,8 +407,16 @@ insert into t1 values(7,'x');
...
@@ -407,8 +407,16 @@ insert into t1 values(7,'x');
insert
into
t1
values
(
8
,
'x'
);
insert
into
t1
values
(
8
,
'x'
);
delete
from
t1
where
a
=
0
;
delete
from
t1
where
a
=
0
;
commit
;
commit
;
delete
from
t1
;
begin
;
insert
into
t1
values
(
1
,
'x'
);
select
*
from
t1
;
rollback
;
set
autocommit
=
1
;
set
autocommit
=
1
;
drop
table
t1
;
drop
table
t1
;
#############################
#############################
# Customer posted order by test case
# Customer posted order by test case
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
View file @
890b19c8
...
@@ -62,11 +62,15 @@ Dbtup::execACC_SCANREQ(Signal* signal)
...
@@ -62,11 +62,15 @@ Dbtup::execACC_SCANREQ(Signal* signal)
jam
();
jam
();
break
;
break
;
}
}
#if BUG_27776_FIXED
if
(
!
AccScanReq
::
getNoDiskScanFlag
(
req
->
requestInfo
)
if
(
!
AccScanReq
::
getNoDiskScanFlag
(
req
->
requestInfo
)
&&
tablePtr
.
p
->
m_no_of_disk_attributes
)
&&
tablePtr
.
p
->
m_no_of_disk_attributes
)
{
{
bits
|=
ScanOp
::
SCAN_DD
;
bits
|=
ScanOp
::
SCAN_DD
;
}
}
#endif
bool
mm
=
(
bits
&
ScanOp
::
SCAN_DD
);
bool
mm
=
(
bits
&
ScanOp
::
SCAN_DD
);
if
(
tablePtr
.
p
->
m_attributes
[
mm
].
m_no_of_varsize
>
0
)
{
if
(
tablePtr
.
p
->
m_attributes
[
mm
].
m_no_of_varsize
>
0
)
{
bits
|=
ScanOp
::
SCAN_VS
;
bits
|=
ScanOp
::
SCAN_VS
;
...
@@ -594,7 +598,6 @@ Dbtup::scanNext(Signal* signal, ScanOpPtr scanPtr)
...
@@ -594,7 +598,6 @@ Dbtup::scanNext(Signal* signal, ScanOpPtr scanPtr)
const
bool
mm
=
(
bits
&
ScanOp
::
SCAN_DD
);
const
bool
mm
=
(
bits
&
ScanOp
::
SCAN_DD
);
const
bool
lcp
=
(
bits
&
ScanOp
::
SCAN_LCP
);
const
bool
lcp
=
(
bits
&
ScanOp
::
SCAN_LCP
);
const
bool
dirty
=
(
bits
&
ScanOp
::
SCAN_LOCK
)
==
0
;
Uint32
lcp_list
=
fragPtr
.
p
->
m_lcp_keep_list
;
Uint32
lcp_list
=
fragPtr
.
p
->
m_lcp_keep_list
;
Uint32
size
=
table
.
m_offsets
[
mm
].
m_fix_header_size
+
Uint32
size
=
table
.
m_offsets
[
mm
].
m_fix_header_size
+
...
@@ -765,8 +768,7 @@ Dbtup::scanNext(Signal* signal, ScanOpPtr scanPtr)
...
@@ -765,8 +768,7 @@ Dbtup::scanNext(Signal* signal, ScanOpPtr scanPtr)
jam
();
jam
();
if
(
!
(
thbits
&
Tuple_header
::
FREE
))
if
(
!
(
thbits
&
Tuple_header
::
FREE
))
{
{
if
(
!
((
thbits
&
Tuple_header
::
ALLOC
)
&&
dirty
))
goto
found_tuple
;
goto
found_tuple
;
}
}
}
}
else
else
...
...
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