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
f07d2aaa
Commit
f07d2aaa
authored
Jan 11, 2006
by
gluh@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/gluh/MySQL/Merge/5.1-new
parents
161645c8
9f729c45
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
mysql-test/extra/binlog_tests/ctype_cp932.test
mysql-test/extra/binlog_tests/ctype_cp932.test
+1
-0
mysql-test/r/binlog_stm_ctype_cp932.result
mysql-test/r/binlog_stm_ctype_cp932.result
+1
-0
mysql-test/t/ctype_ucs.test
mysql-test/t/ctype_ucs.test
+2
-0
sql/sql_show.cc
sql/sql_show.cc
+6
-1
No files found.
mysql-test/extra/binlog_tests/ctype_cp932.test
View file @
f07d2aaa
...
@@ -434,3 +434,4 @@ insert into t1 values ('ab');
...
@@ -434,3 +434,4 @@ insert into t1 values ('ab');
select
*
from
t1
;
select
*
from
t1
;
insert
into
t1
values
(
'abc'
);
insert
into
t1
values
(
'abc'
);
select
*
from
t1
;
select
*
from
t1
;
drop
table
t1
;
mysql-test/r/binlog_stm_ctype_cp932.result
View file @
f07d2aaa
...
@@ -11366,3 +11366,4 @@ col1
...
@@ -11366,3 +11366,4 @@ col1
a
a
a
a
a
a
drop table t1;
mysql-test/t/ctype_ucs.test
View file @
f07d2aaa
...
@@ -424,7 +424,9 @@ drop table t1;
...
@@ -424,7 +424,9 @@ drop table t1;
#
#
# Bug #14583 Bug on query using a LIKE on indexed field with ucs2_bin collation
# Bug #14583 Bug on query using a LIKE on indexed field with ucs2_bin collation
#
#
--
disable_warnings
create
table
t1
(
f1
varchar
(
5
)
CHARACTER
SET
ucs2
COLLATE
ucs2_bin
NOT
NULL
)
engine
=
InnoDB
;
create
table
t1
(
f1
varchar
(
5
)
CHARACTER
SET
ucs2
COLLATE
ucs2_bin
NOT
NULL
)
engine
=
InnoDB
;
--
enable_warnings
insert
into
t1
values
(
'a'
);
insert
into
t1
values
(
'a'
);
create
index
t1f1
on
t1
(
f1
);
create
index
t1f1
on
t1
(
f1
);
select
f1
from
t1
where
f1
like
'a%'
;
select
f1
from
t1
where
f1
like
'a%'
;
...
...
sql/sql_show.cc
View file @
f07d2aaa
...
@@ -3582,18 +3582,22 @@ static int get_schema_partitions_record(THD *thd, struct st_table_list *tables,
...
@@ -3582,18 +3582,22 @@ static int get_schema_partitions_record(THD *thd, struct st_table_list *tables,
TIME
time
;
TIME
time
;
TABLE
*
show_table
=
tables
->
table
;
TABLE
*
show_table
=
tables
->
table
;
handler
*
file
=
show_table
->
file
;
handler
*
file
=
show_table
->
file
;
#ifdef WITH_PARTITION_STORAGE_ENGINE
partition_info
*
part_info
=
show_table
->
part_info
;
partition_info
*
part_info
=
show_table
->
part_info
;
#endif
DBUG_ENTER
(
"get_schema_partitions_record"
);
DBUG_ENTER
(
"get_schema_partitions_record"
);
if
(
res
)
if
(
res
)
{
{
#ifdef WITH_PARTITION_STORAGE_ENGINE
if
(
part_info
)
if
(
part_info
)
push_warning
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
push_warning
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
thd
->
net
.
last_errno
,
thd
->
net
.
last_error
);
thd
->
net
.
last_errno
,
thd
->
net
.
last_error
);
#endif
thd
->
clear_error
();
thd
->
clear_error
();
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
#ifdef WITH_PARTITION_STORAGE_ENGINE
if
(
part_info
)
if
(
part_info
)
{
{
partition_element
*
part_elem
;
partition_element
*
part_elem
;
...
@@ -3750,6 +3754,7 @@ static int get_schema_partitions_record(THD *thd, struct st_table_list *tables,
...
@@ -3750,6 +3754,7 @@ static int get_schema_partitions_record(THD *thd, struct st_table_list *tables,
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
else
else
#endif
{
{
store_schema_partitions_record
(
thd
,
table
,
0
,
file
,
0
);
store_schema_partitions_record
(
thd
,
table
,
0
,
file
,
0
);
if
(
schema_table_store_record
(
thd
,
table
))
if
(
schema_table_store_record
(
thd
,
table
))
...
...
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