~clint-fewbar/ubuntu/natty/mysql-5.1/merge-5.1.49-2

« back to all changes in this revision

Viewing changes to mysql-test/suite/innodb_plugin/t/innodb_bug52745.test

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-08-04 13:18:27 UTC
  • mfrom: (1.2.2 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100804131827-4tjg88vr9dd49s3k
Tags: 5.1.49-1ubuntu1
* Merge from debian unstable:
  + debian/control:
     * Update maintainer according to spec.
     * Move section from "misc" to "database".
     * Added libmysqlclient16-dev an empty transitional package. 
     * Added mysql-client-core-5.1 package.
     * Suggest mailx for mysql-server-5.1
     * Add mysql-testsuite package so you can run the testsuite seperately.
  + debian/additions/my.cnf:
    * Remove language options. Error message files are located in a different directory in Mysql
      5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0
      and 5.1 use a different value that works. (LP: #316974)
  + Add apparmor profile:
    + debian/apparmor-profile: apparmor-profile
    + debian/rules, debian/mysql-server-5.1.files: install apparmor profile
    + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain
    + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge.
    + debian/mysql-server-5.1.README.Debian: add apparmor documentation.
    + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799)
    + debian/mysql-server-5.1.postinst: reload apparmor profiles
  * Convert the package from sysvinit to upstart:
    + debian/mysql-server-5.1.mysql.upstart: Add upstart script.
    + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart.
    + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart.
    + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since
      we're not piping anything around logger anymore.
    + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation},
      debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe
    + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped
  * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures.
  * Add Apport hook (LP: #354188):
    + debian/mysql-server-5.1.py: apport package hook
    + debian/rules: Make it installable
  * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before
    running logrotate. (LP: #513135)
  * Make the testsuite installable. (LP: #530752)
    + debian/mysql-server-5.1.files, debian/rules: install apport package hook
  * debian/mysql-server-5.1.preinst: Set mysql user's home directory
    to /nonexistent to protect against having the /var/lib/mysql
    user-writeable. If an attacker can trick mysqld into creating
    dot files in the home directory, he could do .rhost-like attacks
    on the system. (LP: #293258)
  * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1.
    (LP: #590952) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- source include/have_innodb_plugin.inc
 
2
 
 
3
let $file_format=`select @@innodb_file_format`;
 
4
let $file_format_check=`select @@innodb_file_format_check`;
 
5
let $file_per_table=`select @@innodb_file_per_table`;
 
6
SET GLOBAL innodb_file_format='Barracuda';
 
7
SET GLOBAL innodb_file_per_table=on;
 
8
 
 
9
CREATE TABLE bug52745 (
 
10
  a2 int(10) unsigned DEFAULT NULL,
 
11
  col37 time DEFAULT NULL,
 
12
  col38 char(229) CHARACTER SET utf8 DEFAULT NULL,
 
13
  col39 text,
 
14
  col40 timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
 
15
  col41 int(10) unsigned DEFAULT NULL,
 
16
  col42 varchar(248) CHARACTER SET utf8 DEFAULT NULL,
 
17
  col43 smallint(5) unsigned zerofill DEFAULT NULL,
 
18
  col44 varchar(150) CHARACTER SET utf8 DEFAULT NULL,
 
19
  col45 float unsigned zerofill DEFAULT NULL,
 
20
  col46 binary(1) DEFAULT NULL,
 
21
  col47 tinyint(4) DEFAULT NULL,
 
22
  col48 tinyint(1) DEFAULT NULL,
 
23
  col49 timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 
24
  col50 binary(1) DEFAULT NULL,
 
25
  col51 double unsigned zerofill DEFAULT NULL,
 
26
  col52 int(10) unsigned DEFAULT NULL,
 
27
  col53 time DEFAULT NULL,
 
28
  col54 double unsigned DEFAULT NULL,
 
29
  col55 time DEFAULT NULL,
 
30
  col56 mediumtext CHARACTER SET latin2,
 
31
  col57 blob,
 
32
  col58 decimal(52,16) unsigned zerofill NOT NULL DEFAULT '000000000000000000000000000000000000.0000000000000000',
 
33
  col59 binary(1) DEFAULT NULL,
 
34
  col60 longblob,
 
35
  col61 time DEFAULT NULL,
 
36
  col62 longtext CHARACTER SET utf8 COLLATE utf8_persian_ci,
 
37
  col63 timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 
38
  col64 int(10) unsigned DEFAULT NULL,
 
39
  col65 date DEFAULT NULL,
 
40
  col66 timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 
41
  col67 binary(1) DEFAULT NULL,
 
42
  col68 tinyblob,
 
43
  col69 date DEFAULT NULL,
 
44
  col70 tinyint(3) unsigned zerofill DEFAULT NULL,
 
45
  col71 varchar(44) CHARACTER SET utf8 DEFAULT NULL,
 
46
  col72 datetime DEFAULT NULL,
 
47
  col73 smallint(5) unsigned zerofill DEFAULT NULL,
 
48
  col74 longblob,
 
49
  col75 bit(34) DEFAULT NULL,
 
50
  col76 float unsigned zerofill DEFAULT NULL,
 
51
  col77 year(2) DEFAULT NULL,
 
52
  col78 tinyint(3) unsigned DEFAULT NULL,
 
53
  col79 set('msfheowh','tbpxbgf','by','wahnrjw','myqfasxz','rsokyumrt') CHARACTER SET latin2 DEFAULT NULL,
 
54
  col80 datetime DEFAULT NULL,
 
55
  col81 smallint(6) DEFAULT NULL,
 
56
  col82 enum('xtaurnqfqz','rifrse','kuzwpbvb','niisabk','zxavro','rbvasv','','uulrfaove','','') DEFAULT NULL,
 
57
  col83 bigint(20) unsigned zerofill DEFAULT NULL,
 
58
  col84 float unsigned zerofill DEFAULT NULL,
 
59
  col85 double DEFAULT NULL,
 
60
  col86 enum('ylannv','','vlkhycqc','snke','cxifustp','xiaxaswzp','oxl') CHARACTER SET latin1 COLLATE latin1_german2_ci DEFAULT NULL,
 
61
  col87 varbinary(221) DEFAULT NULL,
 
62
  col88 double unsigned DEFAULT NULL,
 
63
  col89 float unsigned zerofill DEFAULT NULL,
 
64
  col90 tinyblob
 
65
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1;
 
66
 
 
67
INSERT INTO bug52745 SET
 
68
col40='0000-00-00 00:00:00',
 
69
col51=16547,
 
70
col53='7711484',
 
71
col54=-28604,
 
72
col55='7112612',
 
73
col56='wakefulness\'',
 
74
col57=repeat('absorbefacient\'',106),
 
75
col58=11027,
 
76
col59='AM09gW7',
 
77
col60=repeat('Noelani\'',16),
 
78
col61='2520576',
 
79
col62='substitutiv',
 
80
col63='19950106155112',
 
81
col64=-12038,
 
82
col65='86238806',
 
83
col66='19600719080256',
 
84
col68=repeat('Sagittarius\'',54),
 
85
col69='38943902',
 
86
col70=1232,
 
87
col71='Elora\'',
 
88
col74=repeat('zipp',11),
 
89
col75='0',
 
90
col76=23254,
 
91
col78=13247,
 
92
col79='56219',
 
93
col80='20500609035724',
 
94
col81=11632,
 
95
col82=7,
 
96
col84=-23863,
 
97
col85=6341,
 
98
col87='HZdkf.4 s7t,5Rmq 8so fmr,ruGLUG25TrtI.yQ 2SuHq0ML7rw7.4 b2yf2E5TJxOtBBZImezDnzpj,uPYfznnEUDN1e9aQoO 2DsplB7TFWy  oQJ br  HLF :F,eQ p4i1oWsr lL3PG,hjCz6hYqN h1QTjLCjrv:QCdSzpYBibJAtZCxLOk3l6Blsh.W',
 
99
col88=16894,
 
100
col89=6161,
 
101
col90=repeat('gale',48);
 
102
 
 
103
SHOW WARNINGS;
 
104
 
 
105
DROP TABLE bug52745;
 
106
 
 
107
EVAL SET GLOBAL innodb_file_format=$file_format;
 
108
EVAL SET GLOBAL innodb_file_format_check=$file_format_check;
 
109
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;