summaryrefslogtreecommitdiff
path: root/mysql-test/t/user_var.test
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot2>2003-10-02 16:19:33 +0200
committerunknown <guilhem@gbichot2>2003-10-02 16:19:33 +0200
commit311cd84db83f3fad56ecbd0fdbe8e20fb708d55d (patch)
treed4eb0769faf0734bc11f814ee7337885a6e5c7d6 /mysql-test/t/user_var.test
parent031b6b5fbbde116e6a37b0658a9f090d2e7265ae (diff)
downloadmariadb-git-311cd84db83f3fad56ecbd0fdbe8e20fb708d55d.tar.gz
Had mangled the order of if()s in a previous changeset (1.1596) (not pushed),
correcting it now. Thanks Dmitri for spotting this. mysql-test/r/user_var.result: result update mysql-test/t/user_var.test: a simple test sql/item_func.cc: Had mangled the order of if()s in a previous changeset (1.1596) (not pushed), correcting it now.
Diffstat (limited to 'mysql-test/t/user_var.test')
-rw-r--r--mysql-test/t/user_var.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test
index 514eace25a3..947c944c79e 100644
--- a/mysql-test/t/user_var.test
+++ b/mysql-test/t/user_var.test
@@ -8,6 +8,9 @@ set @a := foo;
set @a := connection_id() + 3;
select @a - connection_id();
+set @b := 1;
+select @b;
+
# Check using and setting variables with SELECT DISTINCT
CREATE TABLE t1 ( i int not null, v int not null,index (i));