summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp-threads.result
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-08-06 18:11:14 +0200
committerunknown <pem@mysql.comhem.se>2004-08-06 18:11:14 +0200
commit98f85188cc4319db20787efe881e927b9eb2c201 (patch)
tree72846f940e8918dd59dab74d3d35d94a1705c8f4 /mysql-test/r/sp-threads.result
parent8602f545dc7dbddc9b5675d707ea19ebd280f075 (diff)
downloadmariadb-git-98f85188cc4319db20787efe881e927b9eb2c201.tar.gz
Fixed BUG#4934: Caching issue with stored procedures.
...and added new test file, sp-threads, for multiple connection tests (apart from the security tests that are in sp-security). sql/sp.cc: When removing an SP, invalidate the caches even if the removing thread doesn't have one.
Diffstat (limited to 'mysql-test/r/sp-threads.result')
-rw-r--r--mysql-test/r/sp-threads.result25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/r/sp-threads.result b/mysql-test/r/sp-threads.result
new file mode 100644
index 00000000000..0bb5c3423e2
--- /dev/null
+++ b/mysql-test/r/sp-threads.result
@@ -0,0 +1,25 @@
+use test;
+drop table if exists t1;
+create table t1 (s1 int, s2 int, s3 int);
+create procedure bug4934()
+begin
+insert into t1 values (1,0,1);
+end//
+use test;
+call bug4934();
+select * from t1;
+s1 s2 s3
+1 0 1
+drop table t1;
+create table t1 (s1 int, s2 int, s3 int);
+drop procedure bug4934;
+create procedure bug4934()
+begin
+end//
+select * from t1;
+s1 s2 s3
+call bug4934();
+select * from t1;
+s1 s2 s3
+drop table t1;
+drop procedure bug4934;