summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp-big.result
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-07-26 18:08:49 -0700
committerjimw@mysql.com <>2005-07-26 18:08:49 -0700
commit0536bd6679accf8f168efe1b9d512db42ae5c433 (patch)
tree0b255fa282c6caf7c049b919090d9116dcc699b6 /mysql-test/r/sp-big.result
parentd503283863ba3534f3cf221bef1ac7bcdd0dee7c (diff)
downloadmariadb-git-0536bd6679accf8f168efe1b9d512db42ae5c433.tar.gz
Increase allowed size of stored procedure bodies to 4GB, and
produce a sensible error when that limit is exceeded. (Bug #11602)
Diffstat (limited to 'mysql-test/r/sp-big.result')
-rw-r--r--mysql-test/r/sp-big.result15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/sp-big.result b/mysql-test/r/sp-big.result
new file mode 100644
index 00000000000..004ff586aab
--- /dev/null
+++ b/mysql-test/r/sp-big.result
@@ -0,0 +1,15 @@
+drop procedure if exists test.longprocedure;
+drop table if exists t1;
+create table t1 (a int);
+insert into t1 values (1),(2),(3);
+length
+107520
+select length(routine_definition) from information_schema.routines where routine_schema = 'test' and routine_name = 'longprocedure';
+length(routine_definition)
+107530
+call test.longprocedure(@value);
+select @value;
+@value
+3
+drop procedure test.longprocedure;
+drop table t1;