mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fix for bug#12913
(Simple SQL can crash server or connection) (not initialized member leads to server crash) mysql-test/r/create.result: result of test for bug #12913 mysql-test/t/create.test: test for bug#12913 (Simple SQL can crash server or connection) sql/sql_table.cc: copy the interval pointer too or a bit later dereferencing of this pointer being 0x0 will crash the server (see bug #12913)
This commit is contained in:
@ -587,6 +587,11 @@ DESC t2;
|
||||
Field Type Null Key Default Extra
|
||||
f2 varchar(86) YES NULL
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t12913 (f1 ENUM ('a','b')) AS SELECT 'a' AS f1;
|
||||
SELECT * FROM t12913;
|
||||
f1
|
||||
a
|
||||
DROP TABLE t12913;
|
||||
create database mysqltest;
|
||||
use mysqltest;
|
||||
drop database mysqltest;
|
||||
|
Reference in New Issue
Block a user