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

« back to all changes in this revision

Viewing changes to mysql-test/r/mysqldump.result

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
4561
4561
SET NAMES default;
4562
4562
DROP TABLE t1, t2;
4563
4563
#
 
4564
# Bug #53088: mysqldump with -T & --default-character-set set
 
4565
#             truncates text/blob to 766 chars
 
4566
#
 
4567
# Also see outfile_loaddata.test
 
4568
#
 
4569
CREATE TABLE t1 (a BLOB) CHARSET latin1;
 
4570
CREATE TABLE t2 LIKE t1;
 
4571
INSERT INTO t1 VALUES (REPEAT('.', 800));
 
4572
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET latin1;
 
4573
# should be 800
 
4574
SELECT LENGTH(a) FROM t2;
 
4575
LENGTH(a)
 
4576
800
 
4577
DROP TABLE t1, t2;
 
4578
#
4564
4579
# End of 5.1 tests
4565
4580
#