summaryrefslogtreecommitdiff
path: root/mysql-test/t/perror.test
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2010-02-23 17:45:49 -0700
committerMarc Alff <marc.alff@sun.com>2010-02-23 17:45:49 -0700
commitf575c59beffb5de952cdc49d83143c314c5d71a4 (patch)
tree9f96cd5e5aa2b4da3e522a2c30dd778961c93301 /mysql-test/t/perror.test
parent7fbb935c3efcba2139c498c0857453b303618606 (diff)
downloadmariadb-git-f575c59beffb5de952cdc49d83143c314c5d71a4.tar.gz
Bug#10143 Perror not showing error description
Backport to 5.5.99
Diffstat (limited to 'mysql-test/t/perror.test')
-rw-r--r--mysql-test/t/perror.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/perror.test b/mysql-test/t/perror.test
index a4b99d8aa22..df0779139f0 100644
--- a/mysql-test/t/perror.test
+++ b/mysql-test/t/perror.test
@@ -17,3 +17,17 @@ enable_query_log;
# As there is no error code defined for 10000, expect error
--error 1
--exec $MY_PERROR 10000 2>&1
+
+#
+# Bug#10143 (Perror not showing error description)
+#
+
+# test reported case
+--exec $MY_PERROR 1062 2>&1
+
+# test errors that contain characters to escape in the text.
+--exec $MY_PERROR 1076 2>&1
+--exec $MY_PERROR 1459 2>&1
+--exec $MY_PERROR 1461 2>&1
+
+