From 3bddaaf80f7e521f07a17b77d87397165d8b3f5d Mon Sep 17 00:00:00 2001 From: "bell@sanja.is.com.ua" <> Date: Tue, 28 Sep 2004 12:31:33 +0300 Subject: [PATCH] fix test suite for portability --- mysql-test/r/mysqldump.result | 24 ------------------------ mysql-test/t/mysqldump.test | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result index d10da6457ed..29ab60b1708 100644 --- a/mysql-test/r/mysqldump.result +++ b/mysql-test/r/mysqldump.result @@ -334,11 +334,6 @@ CREATE TABLE `t1` ( drop table t1; create table t1(a int); create view v1 as select * from t1; --- MySQL dump 10.7 --- --- Host: localhost Database: test --- ------------------------------------------------------ --- Server version 5.0.2-alpha-valgrind-max-debug-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -347,36 +342,17 @@ create view v1 as select * from t1; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE="NO_AUTO_VALUE_ON_ZERO" */; - --- --- Table structure for table `t1` --- - DROP TABLE IF EXISTS `t1`; CREATE TABLE `t1` ( `a` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; --- --- Dumping data for table `t1` --- - /*!40000 ALTER TABLE `t1` DISABLE KEYS */; LOCK TABLES `t1` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `t1` ENABLE KEYS */; - --- --- Table structure for table `v1` --- - DROP TABLE IF EXISTS `v1`; - --- --- View structure for view `v1` --- - DROP VIEW IF EXISTS `v1`; CREATE VIEW `test`.`v1` AS select `test`.`t1`.`a` AS `a` from `test`.`t1`; diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test index b9fdfb3188d..945680e7c29 100644 --- a/mysql-test/t/mysqldump.test +++ b/mysql-test/t/mysqldump.test @@ -133,6 +133,6 @@ drop table t1; # create table t1(a int); create view v1 as select * from t1; ---exec $MYSQL_DUMP test +--exec $MYSQL_DUMP --skip-comments test drop view v1; drop table t1; -- 2.30.9