summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql.test
diff options
context:
space:
mode:
authorJim Winstead <jimw@mysql.com>2009-04-28 10:54:26 -0700
committerJim Winstead <jimw@mysql.com>2009-04-28 10:54:26 -0700
commitfb2d75cb75e438fe0912cb81347638167e9ff8ca (patch)
tree71e3fb98018d6bed527e2fd876f3f1169c8c256c /mysql-test/t/mysql.test
parent90815182f09d8c9647b8ce2f907b7e3d6b687375 (diff)
downloadmariadb-git-fb2d75cb75e438fe0912cb81347638167e9ff8ca.tar.gz
Bug #27884: mysql --html does not quote HTML special characters in output
Fix encoding of field values and names in HTML output from mysql client.
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r--mysql-test/t/mysql.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test
index 7e970d5b104..91679c8c2ff 100644
--- a/mysql-test/t/mysql.test
+++ b/mysql-test/t/mysql.test
@@ -367,4 +367,10 @@ remove_file $MYSQLTEST_VARDIR/tmp/bug31060.sql;
drop tables t1, t2;
+#
+# Bug #27884: mysql --html does not quote HTML special characters in output
+#
+--exec $MYSQL --html test -e "select '< & >' as \`<\`"
+
+--echo
--echo End of tests