1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix for the bug #1209: SELECT DATABASE().

This commit is contained in:
unknown
2003-09-08 17:30:53 +05:00
parent ca2ab3537c
commit 1d3d64d69b
4 changed files with 33 additions and 2 deletions

View File

@@ -260,3 +260,19 @@ select * from t2;
drop table t1, t2;
#
# Bug #1209
#
--disable_warnings
drop database if exists test_$1;
--enable_warnings
create database test_$1;
use test_$1;
select database();
drop database test_$1;
select database();
# Connect without a database
connect (user4,localhost,mysqltest_1,,*NO-ONE*);
select database();