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
27bce2a2
Commit
27bce2a2
authored
Mar 21, 2013
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Plain Diff
Merge of patch for Bug#12671635 from mysql-5.1.
parents
f5b4c8f1
f8f88bee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/mysql_system_tables.sql
scripts/mysql_system_tables.sql
+2
-2
No files found.
scripts/mysql_system_tables.sql
View file @
27bce2a2
...
@@ -48,10 +48,10 @@ CREATE TABLE IF NOT EXISTS tables_priv ( Host char(60) binary DEFAULT '' NOT NUL
...
@@ -48,10 +48,10 @@ CREATE TABLE IF NOT EXISTS tables_priv ( Host char(60) binary DEFAULT '' NOT NUL
CREATE
TABLE
IF
NOT
EXISTS
columns_priv
(
Host
char
(
60
)
binary
DEFAULT
''
NOT
NULL
,
Db
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
User
char
(
16
)
binary
DEFAULT
''
NOT
NULL
,
Table_name
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
Column_name
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
Timestamp
timestamp
,
Column_priv
set
(
'Select'
,
'Insert'
,
'Update'
,
'References'
)
COLLATE
utf8_general_ci
DEFAULT
''
NOT
NULL
,
PRIMARY
KEY
(
Host
,
Db
,
User
,
Table_name
,
Column_name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
COLLATE
utf8_bin
comment
=
'Column privileges'
;
CREATE
TABLE
IF
NOT
EXISTS
columns_priv
(
Host
char
(
60
)
binary
DEFAULT
''
NOT
NULL
,
Db
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
User
char
(
16
)
binary
DEFAULT
''
NOT
NULL
,
Table_name
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
Column_name
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
Timestamp
timestamp
,
Column_priv
set
(
'Select'
,
'Insert'
,
'Update'
,
'References'
)
COLLATE
utf8_general_ci
DEFAULT
''
NOT
NULL
,
PRIMARY
KEY
(
Host
,
Db
,
User
,
Table_name
,
Column_name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
COLLATE
utf8_bin
comment
=
'Column privileges'
;
CREATE
TABLE
IF
NOT
EXISTS
help_topic
(
help_topic_id
int
unsigned
not
null
,
name
char
(
64
)
not
null
,
help_category_id
smallint
unsigned
not
null
,
description
text
not
null
,
example
text
not
null
,
url
char
(
128
)
not
null
,
primary
key
(
help_topic_id
),
unique
index
(
name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'help topics'
;
CREATE
TABLE
IF
NOT
EXISTS
help_topic
(
help_topic_id
int
unsigned
not
null
,
name
char
(
64
)
not
null
,
help_category_id
smallint
unsigned
not
null
,
description
text
not
null
,
example
text
not
null
,
url
text
not
null
,
primary
key
(
help_topic_id
),
unique
index
(
name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'help topics'
;
CREATE
TABLE
IF
NOT
EXISTS
help_category
(
help_category_id
smallint
unsigned
not
null
,
name
char
(
64
)
not
null
,
parent_category_id
smallint
unsigned
null
,
url
char
(
128
)
not
null
,
primary
key
(
help_category_id
),
unique
index
(
name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'help categories'
;
CREATE
TABLE
IF
NOT
EXISTS
help_category
(
help_category_id
smallint
unsigned
not
null
,
name
char
(
64
)
not
null
,
parent_category_id
smallint
unsigned
null
,
url
text
not
null
,
primary
key
(
help_category_id
),
unique
index
(
name
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'help categories'
;
CREATE
TABLE
IF
NOT
EXISTS
help_relation
(
help_topic_id
int
unsigned
not
null
references
help_topic
,
help_keyword_id
int
unsigned
not
null
references
help_keyword
,
primary
key
(
help_keyword_id
,
help_topic_id
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'keyword-topic relation'
;
CREATE
TABLE
IF
NOT
EXISTS
help_relation
(
help_topic_id
int
unsigned
not
null
references
help_topic
,
help_keyword_id
int
unsigned
not
null
references
help_keyword
,
primary
key
(
help_keyword_id
,
help_topic_id
)
)
engine
=
MyISAM
CHARACTER
SET
utf8
comment
=
'keyword-topic relation'
;
...
...
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