summaryrefslogtreecommitdiff
path: root/mysql-test/t/type_blob.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/type_blob.test')
-rw-r--r--mysql-test/t/type_blob.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/type_blob.test b/mysql-test/t/type_blob.test
index 4e097edf73d..843cd0ffafa 100644
--- a/mysql-test/t/type_blob.test
+++ b/mysql-test/t/type_blob.test
@@ -628,3 +628,11 @@ DROP TABLE t1;
--echo End of 5.1 tests
+#
+# Problem when comparing blobs #778901
+#
+
+CREATE TABLE t1 ( f1 blob, f2 blob );
+INSERT INTO t1 VALUES ('','');
+SELECT f1,f2,"found row" FROM t1 WHERE f1 = f2 ;
+DROP TABLE t1;