← Back to team overview

maria-developers team mailing list archive

Re: 1c3182a99e5: MDEV-5215 prerequisite of prerequisite: if DB is not mentioned in connect ignore errors of switching to it

 

Hi, Oleksandr,

On Aug 25, Oleksandr Byelkin wrote:
> revision-id: 1c3182a99e5 (mariadb-10.6.1-482-g1c3182a99e5)
> parent(s): 7253cdf8928
> author: Oleksandr Byelkin
> committer: Oleksandr Byelkin
> timestamp: 2022-08-16 11:49:41 +0200
> message:
> 
> MDEV-5215 prerequisite of prerequisite: if DB is not mentioned in connect ignore errors of switching to it
> 
> diff --git a/mysql-test/main/init_connect.test b/mysql-test/main/init_connect.test
> index e96d02fe0d1..60549c3458e 100644
> --- a/mysql-test/main/init_connect.test
> +++ b/mysql-test/main/init_connect.test
> @@ -10,31 +10,31 @@
>  
>  --source include/add_anonymous_users.inc
>  
> -connect (con0,localhost,root,,);
> +connect (con0,localhost,root,,test);

why did you specify a db explicitly (here and in many other places)?
I thought the whole point was to modify mysqltest in a way that would
avoid the need of changing tests.

>  connection con0;
>  select hex(@a);

Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx