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
29e1d5f9
Commit
29e1d5f9
authored
Feb 02, 2007
by
gluh@mysql.com/eagle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fix
parent
7849d319
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/ndb_read_multi_range.result
mysql-test/r/ndb_read_multi_range.result
+3
-3
mysql-test/t/ndb_read_multi_range.test
mysql-test/t/ndb_read_multi_range.test
+3
-3
sql/opt_range.cc
sql/opt_range.cc
+1
-1
sql/sql_delete.cc
sql/sql_delete.cc
+2
-2
No files found.
mysql-test/r/ndb_read_multi_range.result
View file @
29e1d5f9
...
...
@@ -417,12 +417,12 @@ a b c
9199 9200 NULL
223456 223457 NULL
245651 245652 2005-12-08 15:58:27
select c, count(*)
select
t21.
c, count(*)
from t21
inner join t22 using (a)
where t22.b in (2,256,257,1121,1134,4102,9200,223457,245652)
group by c
order by c;
group by
t21.
c
order by
t21.
c;
c count(*)
NULL 7
2005-12-08 15:58:27 1
...
...
mysql-test/t/ndb_read_multi_range.test
View file @
29e1d5f9
...
...
@@ -249,12 +249,12 @@ t22.a in (select t12.a from t11, t12 where t11.a in(255,256) and t11.a = t12.a a
delete
from
t22
where
a
>
245651
;
update
t22
set
b
=
a
+
1
;
select
*
from
t22
order
by
1
,
2
,
3
;
select
c
,
count
(
*
)
select
t21
.
c
,
count
(
*
)
from
t21
inner
join
t22
using
(
a
)
where
t22
.
b
in
(
2
,
256
,
257
,
1121
,
1134
,
4102
,
9200
,
223457
,
245652
)
group
by
c
order
by
c
;
group
by
t21
.
c
order
by
t21
.
c
;
DROP
TABLE
t1
,
t11
,
t12
,
t21
,
t22
;
...
...
sql/opt_range.cc
View file @
29e1d5f9
...
...
@@ -563,7 +563,7 @@ public:
/* Number of ranges in the last checked tree->key */
uint
n_ranges
;
uint8
first_null_comp
;
/* first null component if any, 0 - otherwise */
}
PARAM
;
};
class
TABLE_READ_PLAN
;
class
TRP_RANGE
;
...
...
sql/sql_delete.cc
View file @
29e1d5f9
...
...
@@ -75,8 +75,8 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
if
(
!
using_limit
&&
const_cond
&&
(
!
conds
||
conds
->
val_int
())
&&
!
(
specialflag
&
(
SPECIAL_NO_NEW_FUNC
|
SPECIAL_SAFE_MODE
))
&&
(
thd
->
lex
->
sql_command
==
SQLCOM_TRUNCATE
||
!
(
table
->
triggers
&&
table
->
triggers
->
has_delete_triggers
()))
)
!
(
table
->
triggers
&&
table
->
triggers
->
has_delete_triggers
()))
&&
!
thd
->
current_stmt_binlog_row_based
)
{
/* Update the table->file->stats.records number */
table
->
file
->
info
(
HA_STATUS_VARIABLE
|
HA_STATUS_NO_LOCK
);
...
...
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