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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8ab5398b
Commit
8ab5398b
authored
Jul 15, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check that all system tables deleted added
parent
791bdf2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
mysql-test/r/system_mysql_db.result
mysql-test/r/system_mysql_db.result
+2
-0
mysql-test/t/system_mysql_db.test
mysql-test/t/system_mysql_db.test
+5
-0
mysql-test/t/system_mysql_db_fix.test
mysql-test/t/system_mysql_db_fix.test
+4
-10
No files found.
mysql-test/r/system_mysql_db.result
View file @
8ab5398b
...
...
@@ -126,3 +126,5 @@ columns_priv CREATE TABLE `columns_priv` (
`Column_priv` set('Select','Insert','Update','References') NOT NULL default '',
PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`,`Column_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Column privileges'
show tables;
Tables_in_test
mysql-test/t/system_mysql_db.test
View file @
8ab5398b
...
...
@@ -6,3 +6,8 @@
use
mysql
;
--
enable_query_log
--
source
include
/
system_db_struct
.
inc
--
disable_query_log
use
test
;
--
enable_query_log
# keep results same with system_mysql_db_fix
show
tables
;
mysql-test/t/system_mysql_db_fix.test
View file @
8ab5398b
...
...
@@ -68,15 +68,9 @@ INSERT INTO user VALUES ('localhost','', '','N','N','N','N','N','N','N','N','
--
disable_query_log
DROP
TABLE
db
;
DROP
TABLE
host
;
DROP
TABLE
user
;
DROP
TABLE
func
;
DROP
TABLE
tables_priv
;
DROP
TABLE
columns_priv
;
DROP
TABLE
help_category
;
DROP
TABLE
help_keyword
;
DROP
TABLE
help_relation
;
DROP
TABLE
help_topic
;
DROP
TABLE
db
,
host
,
user
,
func
,
tables_priv
,
columns_priv
,
help_category
,
help_keyword
,
help_relation
,
help_topic
,
time_zone
,
time_zone_leap_second
,
time_zone_name
,
time_zone_transition
,
time_zone_transition_type
;
--
enable_query_log
# check that we droped all system tables
show
tables
;
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