summaryrefslogtreecommitdiff
path: root/mysql-test/t/last_value.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/last_value.test')
-rw-r--r--mysql-test/t/last_value.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/last_value.test b/mysql-test/t/last_value.test
index ee793f879da..41cfdb5482d 100644
--- a/mysql-test/t/last_value.test
+++ b/mysql-test/t/last_value.test
@@ -27,9 +27,12 @@ DROP TABLE t1;
#
# Test with different types
#
+# PS protocol gives slightly different metadata for the length
--enable_metadata
+--disable_ps_protocol
SELECT LAST_VALUE(@last_a:=1,@last_b:=1);
select @last_b;
+--enable_ps_protocol
SELECT LAST_VALUE(@last_a:=1,@last_b:=1.0);
select @last_b;
SELECT LAST_VALUE(@last_a:=1,@last_b:="hello");