List:Commits« Previous MessageNext Message »
From:Evgeny Potemkin Date:December 3 2009 1:15pm
Subject:bzr commit into mysql-5.0-bugteam branch (epotemkin:2851) Bug#48508
View as plain text  
#At file:///work/bzrroot/48508-bug-5.0-bugteam/ based on revid:epotemkin@stripped

 2851 Evgeny Potemkin	2009-12-03
      Bug#48508: Crash on prepared statement re-execution.
      
      Test case cleanup.
     @ mysql-test/r/ps.result
        Test case cleanup for bug#48508.
     @ mysql-test/t/ps.test
        Test case cleanup for bug#48508.

    modified:
      mysql-test/r/ps.result
      mysql-test/t/ps.test
=== modified file 'mysql-test/r/ps.result'
--- a/mysql-test/r/ps.result	2009-12-01 18:28:45 +0000
+++ b/mysql-test/r/ps.result	2009-12-03 13:15:20 +0000
@@ -1902,6 +1902,7 @@ execute stmt;
 a
 execute stmt;
 a
+deallocate prepare stmt;
 drop table t1;
 drop view v1;
 create table t1(a bigint);
@@ -1912,6 +1913,7 @@ execute stmt;
 1
 execute stmt;
 1
+deallocate prepare stmt;
 drop table t1,t2;
 #
 End of 5.0 tests.

=== modified file 'mysql-test/t/ps.test'
--- a/mysql-test/t/ps.test	2009-12-01 18:28:45 +0000
+++ b/mysql-test/t/ps.test	2009-12-03 13:15:20 +0000
@@ -1982,6 +1982,7 @@ create view v1 AS select 1 as a from t1 
 prepare stmt from "select * from v1 where a";
 execute stmt;
 execute stmt;
+deallocate prepare stmt;
 drop table t1;
 drop view v1;
 
@@ -1991,6 +1992,7 @@ insert into t2 values (null);
 prepare stmt from "select 1 from t1 join  t2 on a xor b where b > 1  and a =1";
 execute stmt;
 execute stmt;
+deallocate prepare stmt;
 drop table t1,t2;
 --echo #
 


Attachment: [text/bzr-bundle] bzr/epotemkin@mysql.com-20091203131520-93uiop1a81o9z8mb.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (epotemkin:2851) Bug#48508Evgeny Potemkin3 Dec