~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty

« back to all changes in this revision

Viewing changes to mysql-test/t/mysqldump.test

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen, Otto Kekäläinen, James Page
  • Date: 2014-03-02 01:38:26 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140302013826-z3afnfteqo86pccd
Tags: 5.5.36-1
[ Otto Kekäläinen ]
* New upstream release.
* Updated Danish debconf translation (Closes: #739750).
* d/control: Added explicit Conflicts/Replaces for mysql-5.6 packages
  (Closes: #739841).
* d/control: Update for use of virtual-* packages for switching to/from
  MySQL alternatives.

[ James Page ]
* d/control: Drop Nicholas from Uploaders, MIA (Closes: #739360).
* d/control: Add libjemalloc-dev to BD's.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2437
2437
SET @@global.slow_query_log=   @old_slow_query_log_state;
2438
2438
SET @@global.general_log=      @old_general_log_state;
2439
2439
 
 
2440
--echo # MDEV-5481 mysqldump fails to dump geometry types properly
 
2441
 
 
2442
create table t1 (g GEOMETRY) CHARSET koi8r;
 
2443
create table t2 (g GEOMETRY) CHARSET koi8r;
 
2444
insert into t1 values (point(1,1)), (point(2,2));
 
2445
--exec $MYSQL_DUMP --hex-blob --character-sets-dir=$MYSQL_SHAREDIR/charsets --tab=$MYSQLTEST_VARDIR/tmp/ test t1
 
2446
--echo ##################################################
 
2447
--cat_file $file
 
2448
--echo ##################################################
 
2449
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
 
2450
--eval LOAD DATA INFILE '$file' INTO TABLE t2 CHARACTER SET koi8r
 
2451
--remove_file $file
 
2452
select astext(g) from t2;
 
2453
drop table t1, t2;
 
2454
 
2440
2455
--echo #
2441
2456
--echo # End of 5.1 tests
2442
2457
--echo #