~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/t/ps.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-05-22 08:59:41 UTC
  • mto: (2.1.3 sid) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100522085941-4x62clk1ovyip4m5
Tags: upstream-5.1.47
ImportĀ upstreamĀ versionĀ 5.1.47

Show diffs side-by-side

added added

removed removed

Lines of Context:
3065
3065
deallocate prepare encode;
3066
3066
deallocate prepare decode;
3067
3067
 
 
3068
--echo #
 
3069
--echo # Bug#52124 memory leaks like a sieve in datetime, timestamp, time, date fields + warnings
 
3070
--echo #
 
3071
CREATE TABLE t1 (a DATETIME NOT NULL, b TINYINT);
 
3072
INSERT INTO t1 VALUES (0, 0),(0, 0);
 
3073
PREPARE stmt FROM "SELECT 1 FROM t1 WHERE
 
3074
ROW(a, b) >= ROW('1', (SELECT 1 FROM t1 WHERE a > 1234))";
 
3075
--disable_warnings
 
3076
EXECUTE stmt;
 
3077
EXECUTE stmt;
 
3078
--enable_warnings
 
3079
DEALLOCATE PREPARE stmt;
 
3080
DROP TABLE t1;
 
3081
 
3068
3082
--echo End of 5.1 tests.