diff options
author | unknown <bell@sanja.is.com.ua> | 2004-09-26 19:00:55 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-09-26 19:00:55 +0300 |
commit | 808f42d528cbcf3039f78bcea87d1e2d5f4bc6a8 (patch) | |
tree | f4f7cd55c40f75eaae72a160c138425864c5ab3c /mysql-test/r/mysqldump.result | |
parent | 66b4c82eac38fb2acc1f3f5e635f496c8b1c6a9a (diff) | |
download | mariadb-git-808f42d528cbcf3039f78bcea87d1e2d5f4bc6a8.tar.gz |
fix xml with view
client/mysqldump.c:
fixed XML output for view
mysql-test/r/mysqldump.result:
mysqldump test
mysql-test/t/mysqldump.test:
mysqldump test
sql/sql_base.cc:
fix of LOCK workaround
Diffstat (limited to 'mysql-test/r/mysqldump.result')
-rw-r--r-- | mysql-test/r/mysqldump.result | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result index 7e69620394b..d10da6457ed 100644 --- a/mysql-test/r/mysqldump.result +++ b/mysql-test/r/mysqldump.result @@ -332,3 +332,60 @@ CREATE TABLE `t1` ( 2 3 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 */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!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`; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; + +drop view v1; +drop table t1; |