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
b8326540
Commit
b8326540
authored
Apr 02, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mtr database
parent
bd025736
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
2 deletions
+20
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-2
mysql-test/r/1st.result
mysql-test/r/1st.result
+1
-0
mysql-test/r/drop.result
mysql-test/r/drop.result
+2
-0
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+4
-0
mysql-test/r/ps_1general.result
mysql-test/r/ps_1general.result
+1
-0
mysql-test/r/schema.result
mysql-test/r/schema.result
+1
-0
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+1
-0
mysql-test/suite/binlog/r/binlog_database.result
mysql-test/suite/binlog/r/binlog_database.result
+1
-0
mysql-test/suite/rpl/r/rpl_loaddata_m.result
mysql-test/suite/rpl/r/rpl_loaddata_m.result
+1
-0
mysql-test/suite/rpl/r/rpl_row_basic_11bugs.result
mysql-test/suite/rpl/r/rpl_row_basic_11bugs.result
+2
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
b8326540
...
...
@@ -2041,7 +2041,7 @@ sub mysql_install_db {
my
$bootstrap_sql_file
=
"
$opt_vardir
/tmp/bootstrap.sql
";
# Use the mysql database for system tables
mtr_tofile
(
$bootstrap_sql_file
,
"
use mysql
");
mtr_tofile
(
$bootstrap_sql_file
,
"
use mysql
\n
");
# Add the offical mysql system tables
# for a production system
...
...
@@ -2067,7 +2067,11 @@ sub mysql_install_db {
# Remove anonymous users
mtr_tofile
(
$bootstrap_sql_file
,
"
DELETE FROM mysql.user where user= '';
");
"
DELETE FROM mysql.user where user= '';
\n
");
# Create mtr database
mtr_tofile
(
$bootstrap_sql_file
,
"
CREATE DATABASE mtr;
\n
");
# Log bootstrap command
my
$path_bootstrap_log
=
"
$opt_vardir
/log/bootstrap.log
";
...
...
mysql-test/r/1st.result
View file @
b8326540
show databases;
Database
information_schema
mtr
mysql
test
show tables in mysql;
...
...
mysql-test/r/drop.result
View file @
b8326540
...
...
@@ -47,6 +47,7 @@ create database mysqltest;
show databases;
Database
information_schema
mtr
mysql
mysqltest
test
...
...
@@ -58,6 +59,7 @@ drop database mysqltest;
show databases;
Database
information_schema
mtr
mysql
test
drop database mysqltest;
...
...
mysql-test/r/information_schema.result
View file @
b8326540
...
...
@@ -9,11 +9,13 @@ create user mysqltest_3@localhost;
create user mysqltest_3;
select * from information_schema.SCHEMATA where schema_name > 'm';
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
NULL mtr latin1 latin1_swedish_ci NULL
NULL mysql latin1 latin1_swedish_ci NULL
NULL test latin1 latin1_swedish_ci NULL
select schema_name from information_schema.schemata;
schema_name
information_schema
mtr
mysql
test
show databases like 't%';
...
...
@@ -22,6 +24,7 @@ test
show databases;
Database
information_schema
mtr
mysql
test
show databases where `database` = 't%';
...
...
@@ -351,6 +354,7 @@ create view v0 (c) as select schema_name from information_schema.schemata;
select * from v0;
c
information_schema
mtr
mysql
test
explain select * from v0;
...
...
mysql-test/r/ps_1general.result
View file @
b8326540
...
...
@@ -259,6 +259,7 @@ prepare stmt4 from ' show databases ';
execute stmt4;
Database
information_schema
mtr
mysql
test
prepare stmt4 from ' show tables from test like ''t2%'' ';
...
...
mysql-test/r/schema.result
View file @
b8326540
...
...
@@ -7,6 +7,7 @@ show schemas;
Database
information_schema
foo
mtr
mysql
test
drop schema foo;
mysql-test/r/show_check.result
View file @
b8326540
...
...
@@ -140,6 +140,7 @@ Catalog Database Table Table_alias Column Column_alias Type Length Max length Is
def SCHEMATA SCHEMA_NAME Database 253 64 18 N 1 0 8
Database
information_schema
mtr
mysql
test
show databases like "test%";
...
...
mysql-test/suite/binlog/r/binlog_database.result
View file @
b8326540
...
...
@@ -52,5 +52,6 @@ master-bin.000001 # Query # # drop database testing_1
show databases;
Database
information_schema
mtr
mysql
test
mysql-test/suite/rpl/r/rpl_loaddata_m.result
View file @
b8326540
...
...
@@ -21,6 +21,7 @@ COUNT(*)
SHOW DATABASES;
Database
information_schema
mtr
mysql
mysqltest
test
...
...
mysql-test/suite/rpl/r/rpl_row_basic_11bugs.result
View file @
b8326540
...
...
@@ -9,6 +9,7 @@ CREATE DATABASE test_ignore;
SHOW DATABASES;
Database
information_schema
mtr
mysql
test
test_ignore
...
...
@@ -33,6 +34,7 @@ master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
SHOW DATABASES;
Database
information_schema
mtr
mysql
test
USE test;
...
...
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