~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/innobase/mysql-test/innodb_bug34300.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Bug#34300 Tinyblob & tinytext fields currupted after export/import and alter in 5.1
3
 
# http://bugs.mysql.com/34300
4
 
#
5
 
 
6
 
 
7
 
 
8
 
# set packet size and reconnect 
9
 
SET @@global.max_allowed_packet=16777216;
10
 
--connect (newconn, localhost, root,,)
11
 
 
12
 
DROP TABLE IF EXISTS bug34300;
13
 
CREATE TABLE bug34300 (
14
 
  f4 TINYTEXT,
15
 
  f6 MEDIUMTEXT,
16
 
  f8 TINYBLOB
17
 
) ENGINE=InnoDB;
18
 
 
19
 
INSERT INTO bug34300 VALUES ('xxx', repeat('a', 8459264), 'zzz');
20
 
 
21
 
 
22
 
SELECT f4, f8 FROM bug34300;
23
 
 
24
 
ALTER TABLE bug34300 ADD COLUMN (f10 INT);
25
 
 
26
 
SELECT f4, f8 FROM bug34300;
27
 
 
28
 
DROP TABLE bug34300;