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
d33ba019
Commit
d33ba019
authored
Jun 08, 2005
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into mysql.com:/home/bk/mysql-5.0
parents
71c9b0ac
024010e5
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
8 deletions
+13
-8
myisam/mi_key.c
myisam/mi_key.c
+3
-3
myisam/mi_rnext_same.c
myisam/mi_rnext_same.c
+2
-2
mysql-test/Makefile.am
mysql-test/Makefile.am
+1
-0
mysql-test/r/ctype_utf8.result
mysql-test/r/ctype_utf8.result
+3
-0
mysql-test/t/ctype_utf8.test
mysql-test/t/ctype_utf8.test
+1
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
sql/item_subselect.cc
sql/item_subselect.cc
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
myisam/mi_key.c
View file @
d33ba019
...
...
@@ -107,8 +107,7 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
}
if
(
keyseg
->
flag
&
HA_SPACE_PACK
)
{
FIX_LENGTH
(
cs
,
pos
,
length
,
char_length
);
end
=
pos
+
char_length
;
end
=
pos
+
length
;
if
(
type
!=
HA_KEYTYPE_NUM
)
{
while
(
end
>
pos
&&
end
[
-
1
]
==
' '
)
...
...
@@ -119,7 +118,8 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
while
(
pos
<
end
&&
pos
[
0
]
==
' '
)
pos
++
;
}
char_length
=
(
uint
)
(
end
-
pos
);
length
=
(
uint
)
(
end
-
pos
);
FIX_LENGTH
(
cs
,
pos
,
length
,
char_length
);
store_key_length_inc
(
key
,
char_length
);
memcpy
((
byte
*
)
key
,(
byte
*
)
pos
,(
size_t
)
char_length
);
key
+=
char_length
;
...
...
myisam/mi_rnext_same.c
View file @
d33ba019
...
...
@@ -68,7 +68,7 @@ int mi_rnext_same(MI_INFO *info, byte *buf)
info
->
lastkey_length
,
SEARCH_BIGGER
,
info
->
s
->
state
.
key_root
[
inx
])))
break
;
if
(
ha_key_cmp
(
keyinfo
->
seg
,
info
->
lastkey2
,
info
->
lastkey
,
if
(
ha_key_cmp
(
keyinfo
->
seg
,
info
->
lastkey
,
info
->
lastkey2
,
info
->
last_rkey_length
,
SEARCH_FIND
,
&
not_used
))
{
error
=
1
;
...
...
mysql-test/Makefile.am
View file @
d33ba019
...
...
@@ -70,6 +70,7 @@ install-data-local:
$(DESTDIR)$(testdir)
/lib
$(INSTALL_DATA)
$(srcdir)
/README
$(DESTDIR)$(testdir)
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.sql
$(DESTDIR)$(testdir)
/t
-
$(INSTALL_DATA)
$(srcdir)
/t/
*
.disabled
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.opt
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.sh
$(DESTDIR)$(testdir)
/t
...
...
mysql-test/r/ctype_utf8.result
View file @
d33ba019
...
...
@@ -901,4 +901,7 @@ insert into t1 values (2,'Durban');
select * from t1 where city = 'Durban';
id city
2 Durban
select * from t1 where city = 'Durban ';
id city
2 Durban
drop table t1;
mysql-test/t/ctype_utf8.test
View file @
d33ba019
...
...
@@ -744,4 +744,5 @@ create table t1 (
insert
into
t1
values
(
1
,
'Durban North'
);
insert
into
t1
values
(
2
,
'Durban'
);
select
*
from
t1
where
city
=
'Durban'
;
select
*
from
t1
where
city
=
'Durban '
;
drop
table
t1
;
scripts/make_binary_distribution.sh
View file @
d33ba019
...
...
@@ -226,7 +226,7 @@ $CP mysql-test/std_data/*.dat mysql-test/std_data/*.frm \
mysql-test/std_data/des_key_file mysql-test/std_data/
*
.
*
001
\
$BASE
/mysql-test/std_data
$CP
mysql-test/t/
*
.test mysql-test/t/
*
.disabled mysql-test/t/
*
.opt
\
mysql-test/t/
*
.slave-mi mysql-test/t/
*
.sh
$BASE
/mysql-test/t
mysql-test/t/
*
.slave-mi mysql-test/t/
*
.sh
mysql-test/t/
*
.sql
$BASE
/mysql-test/t
$CP
mysql-test/r/
*
.result mysql-test/r/
*
.require
\
$BASE
/mysql-test/r
...
...
sql/item_subselect.cc
View file @
d33ba019
...
...
@@ -601,7 +601,7 @@ void Item_exists_subselect::fix_length_and_dec()
max_length
=
1
;
max_columns
=
engine
->
cols
();
/* We need only 1 row to determine existence */
unit
->
global_parameters
->
select_limit
=
new
Item_int
(
1
);
unit
->
global_parameters
->
select_limit
=
new
Item_int
(
(
int32
)
1
);
}
double
Item_exists_subselect
::
val_real
()
...
...
sql/sql_yacc.yy
View file @
d33ba019
...
...
@@ -7985,7 +7985,7 @@ handler:
LEX *lex=Lex;
lex->sql_command = SQLCOM_HA_READ;
lex->ha_rkey_mode= HA_READ_KEY_EXACT; /* Avoid purify warnings */
lex->current_select->select_limit= new Item_int(1);
lex->current_select->select_limit= new Item_int(
(int32)
1);
lex->current_select->offset_limit= 0;
if (!lex->current_select->add_table_to_list(lex->thd, $2, 0, 0))
YYABORT;
...
...
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