summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
authorMatthias Leich <Matthias.Leich@sun.com>2008-10-02 13:47:16 +0200
committerMatthias Leich <Matthias.Leich@sun.com>2008-10-02 13:47:16 +0200
commite1ea011ceef02b2953afdc0a549e9bb2d1c9ec2b (patch)
tree41540860cd1b2a555f4df630d7cf6726b17ff6a9 /mysql-test/suite
parent8399eb769e4da215d0715e06bbb610cf985ef54d (diff)
downloadmariadb-git-e1ea011ceef02b2953afdc0a549e9bb2d1c9ec2b.tar.gz
Fix for Bug#38427 "Data too long" in some configurations,
tests "<ENGINE>_func_view" fail
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/funcs_1/views/func_view.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/suite/funcs_1/views/func_view.inc b/mysql-test/suite/funcs_1/views/func_view.inc
index 709560cdf99..917b3a22651 100644
--- a/mysql-test/suite/funcs_1/views/func_view.inc
+++ b/mysql-test/suite/funcs_1/views/func_view.inc
@@ -157,10 +157,16 @@ DROP VIEW IF EXISTS v1;
--disable_query_log
# Storage for the SELECTs to be used for the VIEW definition
+# Attention: my_select must be no too small because a statement like
+# SELECT LOAD_FILE(< file in MYSQLTEST_VARDIR >)
+# AS my_col,
+# id FROM t1_values';
+# might be a very long
+# Bug#38427 "Data too long" ... tests "<ENGINE>_func_view" fail
CREATE TABLE t1_selects
(
id BIGINT AUTO_INCREMENT,
- my_select VARCHAR(200) NOT NULL,
+ my_select VARCHAR(1000) NOT NULL,
disable_result ENUM('Yes','No') NOT NULL default 'No',
PRIMARY KEY(id),
UNIQUE (my_select)