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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0be45893
Commit
0be45893
authored
Feb 23, 2007
by
anozdrin/alik@alik.opbmk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test for views with national characters,
which accidentally got broken during the merge on 16-Feb-2007.
parent
8f5c2117
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
mysql-test/r/view.result
mysql-test/r/view.result
+10
-8
mysql-test/t/view.test
mysql-test/t/view.test
+8
-6
No files found.
mysql-test/r/view.result
View file @
0be45893
...
@@ -834,14 +834,16 @@ show create view v1;
...
@@ -834,14 +834,16 @@ show create view v1;
View Create View
View Create View
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 99999999999999999999999999999999999999999999999999999 AS `col1`
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 99999999999999999999999999999999999999999999999999999 AS `col1`
drop view v1;
drop view v1;
create table t (c char);
set names utf8;
create view v as select c from t;
create table tü (cü char);
insert into v values ('');
create view vü as select cü from tü;
select * from v;
insert into vü values ('ü');
c
select * from vü;
cü
drop view v;
ü
drop table t;
drop view vü;
drop table tü;
set names latin1;
create table t1 (a int, b int);
create table t1 (a int, b int);
insert into t1 values (1,2), (1,3), (2,4), (2,5), (3,10);
insert into t1 values (1,2), (1,3), (2,4), (2,5), (3,10);
create view v1(c) as select a+1 from t1 where b >= 4;
create view v1(c) as select a+1 from t1 where b >= 4;
...
...
mysql-test/t/view.test
View file @
0be45893
...
@@ -748,12 +748,14 @@ drop view v1;
...
@@ -748,12 +748,14 @@ drop view v1;
#
#
# VIEWs with national characters
# VIEWs with national characters
#
#
create table t (c char);
set names utf8;
create view v as select c from t;
create table tü (cü char);
insert into v values ('');
create view vü as select cü from tü;
select * from v;
insert into vü values ('ü');
drop view v;
select * from vü;
drop table t;
drop view vü;
drop table tü;
set names latin1;
#
#
# problem with used_tables() of outer reference resolved in VIEW
# problem with used_tables() of outer reference resolved in VIEW
...
...
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