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
c1b92f6a
Commit
c1b92f6a
authored
Jan 19, 2005
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
parents
cb995131
994c1fd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
mysql-test/r/view.result
mysql-test/r/view.result
+6
-0
mysql-test/t/view.test
mysql-test/t/view.test
+7
-0
sql/sql_base.cc
sql/sql_base.cc
+1
-1
No files found.
mysql-test/r/view.result
View file @
c1b92f6a
...
...
@@ -1724,3 +1724,9 @@ a b
301 0
drop view v3;
drop tables t1,t2;
create table t1(f1 int);
create view v1 as select f1 from t1;
select * from v1 where F1 = 1;
f1
drop view v1;
drop table t1;
mysql-test/t/view.test
View file @
c1b92f6a
...
...
@@ -1654,3 +1654,10 @@ select * from v3;
drop
view
v3
;
drop
tables
t1
,
t2
;
# View field names should be case insensitive
create
table
t1
(
f1
int
);
create
view
v1
as
select
f1
from
t1
;
select
*
from
v1
where
F1
=
1
;
drop
view
v1
;
drop
table
t1
;
sql/sql_base.cc
View file @
c1b92f6a
...
...
@@ -2120,7 +2120,7 @@ find_field_in_table(THD *thd, TABLE_LIST *table_list,
Field_translator
*
trans
=
table_list
->
field_translation
;
for
(
uint
i
=
0
;
i
<
num
;
i
++
)
{
if
(
strcmp
(
trans
[
i
].
name
,
name
)
==
0
)
if
(
!
my_strcasecmp
(
system_charset_info
,
trans
[
i
].
name
,
name
)
)
{
#ifndef NO_EMBEDDED_ACCESS_CHECKS
if
(
check_grants_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