~ubuntu-branches/ubuntu/saucy/mysql-5.5/saucy-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-04-19 20:45:09 UTC
  • mfrom: (1.1.16) (36.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20140419204509-zlz5dltbk3zkfcwk
Tags: 5.5.37-0ubuntu0.13.10.1
* SECURITY UPDATE: Update to 5.5.37 to fix security issues (LP: #1309662)
  - http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html
  - CVE-2014-0001
  - CVE-2014-0384
  - CVE-2014-2419
  - CVE-2014-2430
  - CVE-2014-2431
  - CVE-2014-2432
  - CVE-2014-2436
  - CVE-2014-2438
  - CVE-2014-2440
* Drop creation of insecure database permissions:
  - d/p/33_scripts__mysql_create_system_tables__no_test.patch,
    d/p/41_scripts__mysql_install_db.sh__no_test.patch,
    d/p/50_mysql-test__db_test.patch: Restored from mysql-5.1
    package, inadvertently dropped in 5.5 transition. This
    removes the global anonymous access to the database which
    is a security concern.

Show diffs side-by-side

added added

removed removed

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