1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-27944: View-protocol fails if database was changed

This is a limitation of the view protocol.
Tests were fixed with workaround (via disable/enable service connection)
This commit is contained in:
Lena Startseva
2024-09-23 17:53:11 +07:00
parent 53f5ee7929
commit ad5b9c207c
3 changed files with 10 additions and 12 deletions

View File

@ -2,9 +2,6 @@
# Test of --lower-case-table-names
#
#remove this include after fix MDEV-27944
--source include/no_view_protocol.inc
create table T1 (id int primary key, Word varchar(40) not null, Index(Word));
create table t4 (id int primary key, Word varchar(40) not null);
INSERT INTO T1 VALUES (1, 'a'), (2, 'b'), (3, 'c');
@ -36,8 +33,10 @@ drop table t1;
create database mysqltest;
use MYSQLTEST;
create table t1 (a int);
--disable_service_connection
select T1.a from MYSQLTEST.T1;
select t1.a from MYSQLTEST.T1;
--enable_service_connection
select mysqltest.t1.* from MYSQLTEST.t1;
select MYSQLTEST.t1.* from MYSQLTEST.t1;
select MYSQLTEST.T1.* from MYSQLTEST.T1;