diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:04:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:04:16 +0000 |
commit | a68fb2d8219f6bccc573009600e9f23e89226a5e (patch) | |
tree | d742d35d14ae816e99293d2b01face30e9f3a46b /mysql-test/main/create_not_windows.result | |
parent | Initial commit. (diff) | |
download | mariadb-10.6-a68fb2d8219f6bccc573009600e9f23e89226a5e.tar.xz mariadb-10.6-a68fb2d8219f6bccc573009600e9f23e89226a5e.zip |
Adding upstream version 1:10.6.11.upstream/1%10.6.11upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/create_not_windows.result')
-rw-r--r-- | mysql-test/main/create_not_windows.result | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/main/create_not_windows.result b/mysql-test/main/create_not_windows.result new file mode 100644 index 00000000..8dacf289 --- /dev/null +++ b/mysql-test/main/create_not_windows.result @@ -0,0 +1,31 @@ +drop table if exists `about:text`; +create table `about:text` ( +_id int not null auto_increment, +`about:text` varchar(255) not null default '', +primary key (_id) +); +show create table `about:text`; +Table Create Table +about:text CREATE TABLE `about:text` ( + `_id` int(11) NOT NULL AUTO_INCREMENT, + `about:text` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +drop table `about:text`; +use test; +drop table if exists t1; +create table t1(a int) engine=myisam; +insert into t1 values(1); +"We get an error because the table is in the definition cache" +create table t1(a int, b int); +ERROR 42S01: Table 't1' already exists +"Flush the cache and recreate the table anew to be able to drop it" +flush tables; +show open tables like "t%"; +Database Table In_use Name_locked +create table t1(a int, b int, c int); +"Try to select from the table. This should not crash the server" +select count(a) from t1; +count(a) +0 +drop table t1; |