You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.9 KiB

  1. #! /bin/sh /usr/share/dpatch/dpatch-run
  2. ## 60_zlib_innodb_workaround.dpatch by Norbert Tretkowski <nobse@debian.org>
  3. ##
  4. ## All lines beginning with `## DP:' are a description of the patch.
  5. ## DP: http://bugs.mysql.com/bug.php?id=47495
  6. @DPATCH@
  7. diff -Nur mysql-dfsg-5.1-5.1.39.orig/mysql-test/suite/innodb/r/innodb-zip.result mysql-dfsg-5.1-5.1.39/mysql-test/suite/innodb/r/innodb-zip.result
  8. --- mysql-dfsg-5.1-5.1.39.orig/mysql-test/suite/innodb/r/innodb-zip.result 2009-09-04 19:04:38.000000000 +0200
  9. +++ mysql-dfsg-5.1-5.1.39/mysql-test/suite/innodb/r/innodb-zip.result 2009-09-28 16:01:33.000000000 +0200
  10. @@ -141,7 +141,7 @@
  11. CREATE TABLE t1(c TEXT, PRIMARY KEY (c(440)))
  12. ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
  13. ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs
  14. -CREATE TABLE t1(c TEXT, PRIMARY KEY (c(439)))
  15. +CREATE TABLE t1(c TEXT, PRIMARY KEY (c(438)))
  16. ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
  17. INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512));
  18. DROP TABLE t1;
  19. diff -Nur mysql-dfsg-5.1-5.1.39.orig/mysql-test/suite/innodb/t/innodb-zip.test mysql-dfsg-5.1-5.1.39/mysql-test/suite/innodb/t/innodb-zip.test
  20. --- mysql-dfsg-5.1-5.1.39.orig/mysql-test/suite/innodb/t/innodb-zip.test 2009-09-04 19:04:37.000000000 +0200
  21. +++ mysql-dfsg-5.1-5.1.39/mysql-test/suite/innodb/t/innodb-zip.test 2009-09-28 16:01:22.000000000 +0200
  22. @@ -106,7 +106,7 @@
  23. --error ER_TOO_BIG_ROWSIZE
  24. CREATE TABLE t1(c TEXT, PRIMARY KEY (c(440)))
  25. ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
  26. -CREATE TABLE t1(c TEXT, PRIMARY KEY (c(439)))
  27. +CREATE TABLE t1(c TEXT, PRIMARY KEY (c(438)))
  28. ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
  29. INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512));
  30. DROP TABLE t1;