Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ad809c6b
Commit
ad809c6b
authored
Jun 19, 2006
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
parents
5937422a
67e476f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+7
-6
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+5
-4
No files found.
mysql-test/r/mysqldump.result
View file @
ad809c6b
...
...
@@ -2757,9 +2757,8 @@ p CREATE DEFINER=`root`@`localhost` PROCEDURE `p`()
select 42
drop function f;
drop procedure p;
drop database if exists test;
create database test;
use test;
create database mysqldump_test_db;
use mysqldump_test_db;
create table t1 (id int);
create view v1 as select * from t1;
insert into t1 values (1232131);
...
...
@@ -2778,11 +2777,11 @@ insert into t1 values (0815);
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*!40000 DROP DATABASE IF EXISTS `
test
`*/;
/*!40000 DROP DATABASE IF EXISTS `
mysqldump_test_db
`*/;
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `
test
` /*!40100 DEFAULT CHARACTER SET latin1 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `
mysqldump_test_db
` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `
test
`;
USE `
mysqldump_test_db
`;
DROP TABLE IF EXISTS `t1`;
CREATE TABLE `t1` (
`id` int(11) default NULL
...
...
@@ -2815,3 +2814,5 @@ DROP TABLE IF EXISTS `v1`;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
drop view v1;
drop table t1;
drop database mysqldump_test_db;
mysql-test/t/mysqldump.test
View file @
ad809c6b
...
...
@@ -1166,14 +1166,15 @@ drop procedure p;
# also confusion between tables and views.
# Example code from Markus Popp
drop
database
if
exists
test
;
create
database
test
;
use
test
;
create
database
mysqldump_test_db
;
use
mysqldump_test_db
;
create
table
t1
(
id
int
);
create
view
v1
as
select
*
from
t1
;
insert
into
t1
values
(
1232131
);
insert
into
t1
values
(
4711
);
insert
into
t1
values
(
3231
);
insert
into
t1
values
(
0815
);
--
exec
$MYSQL_DUMP
--
skip
-
comments
--
add
-
drop
-
database
--
databases
test
--
exec
$MYSQL_DUMP
--
skip
-
comments
--
add
-
drop
-
database
--
databases
mysqldump_test_db
drop
view
v1
;
drop
table
t1
;
drop
database
mysqldump_test_db
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment