summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp.result
diff options
context:
space:
mode:
authorKristofer Pettersson <kpettersson@mysql.com>2008-09-20 16:52:34 +0200
committerKristofer Pettersson <kpettersson@mysql.com>2008-09-20 16:52:34 +0200
commit153e8e7c0774cf617c48f23f83e14abd9ccc7f83 (patch)
treeb5caadc16a24fa605d85a84463ed472803330eaf /mysql-test/r/sp.result
parent88ec0a0ce8d1460377de9971e6df003e5a58371f (diff)
parent119c5aaeba2b35f201bdbd98c0714be9b6a780fb (diff)
downloadmariadb-git-153e8e7c0774cf617c48f23f83e14abd9ccc7f83.tar.gz
Merge 5.0-bugteam -> 5.1-bugteam
Diffstat (limited to 'mysql-test/r/sp.result')
-rw-r--r--mysql-test/r/sp.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/sp.result b/mysql-test/r/sp.result
index d37c728d6fb..651f0b235d5 100644
--- a/mysql-test/r/sp.result
+++ b/mysql-test/r/sp.result
@@ -6836,6 +6836,16 @@ drop procedure p1;
drop function f1;
drop view v1;
drop table t1;
+drop procedure if exists `p2` $
+create procedure `p2`(in `a` text charset utf8)
+begin
+declare `pos` int default 1;
+declare `str` text charset utf8;
+set `str` := `a`;
+select substr(`str`, `pos`+ 1 ) into `str`;
+end $
+call `p2`('s s s s s s');
+drop procedure `p2`;
# ------------------------------------------------------------------
# -- End of 5.0 tests
# ------------------------------------------------------------------