1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

fix an old bug where dd_frm_type() could incorrectly determine the table type

for dynamic engines (because it only looked at the one-byte code, not at the full
engine name).
This commit is contained in:
Sergei Golubchik
2013-08-28 22:16:13 +02:00
parent 68325b6a12
commit 28a9fea122
5 changed files with 102 additions and 5 deletions

View File

@@ -6,6 +6,8 @@
drop table if exists t1,t2;
--enable_warnings
let $mysqld_datadir= `select @@datadir`;
set names latin1;
select 'hello',"'hello'",'""hello""','''h''e''l''l''o''',"hel""lo",'hel\'lo';
@@ -1385,6 +1387,8 @@ LOAD DATA INFILE 'bug58165.txt' INTO TABLE t1;
SELECT * FROM t1;
DROP TABLE t1;
--remove_file $mysqld_datadir/test/bug58165.txt
#
# MDEV-759 lp:998340 - Valgrind complains on simple selects containing expression DAY(FROM_UNIXTIME(-1))
#