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
e66d0fa7
Commit
e66d0fa7
authored
Sep 03, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add engine=MyISAM to all create table statements in
mysql_create_system_tables, just in case
parent
ae801bad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
scripts/mysql_create_system_tables.sh
scripts/mysql_create_system_tables.sh
+15
-15
No files found.
scripts/mysql_create_system_tables.sh
View file @
e66d0fa7
...
@@ -68,7 +68,7 @@ then
...
@@ -68,7 +68,7 @@ then
c_d
=
"
$c_d
Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_d
=
"
$c_d
Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_d
=
"
$c_d
PRIMARY KEY Host (Host,Db,User),"
c_d
=
"
$c_d
PRIMARY KEY Host (Host,Db,User),"
c_d
=
"
$c_d
KEY User (User)"
c_d
=
"
$c_d
KEY User (User)"
c_d
=
"
$c_d
)"
c_d
=
"
$c_d
)
engine=MyISAM
"
c_d
=
"
$c_d
comment='Database privileges';"
c_d
=
"
$c_d
comment='Database privileges';"
i_d
=
"INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');
i_d
=
"INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');
...
@@ -97,7 +97,7 @@ then
...
@@ -97,7 +97,7 @@ then
c_h
=
"
$c_h
Create_tmp_table_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_h
=
"
$c_h
Create_tmp_table_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_h
=
"
$c_h
Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_h
=
"
$c_h
Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
c_h
=
"
$c_h
PRIMARY KEY Host (Host,Db)"
c_h
=
"
$c_h
PRIMARY KEY Host (Host,Db)"
c_h
=
"
$c_h
)"
c_h
=
"
$c_h
)
engine=MyISAM
"
c_h
=
"
$c_h
comment='Host privileges; Merged with database privileges';"
c_h
=
"
$c_h
comment='Host privileges; Merged with database privileges';"
fi
fi
...
@@ -140,7 +140,7 @@ then
...
@@ -140,7 +140,7 @@ then
c_u
=
"
$c_u
max_updates int(11) unsigned DEFAULT 0 NOT NULL,"
c_u
=
"
$c_u
max_updates int(11) unsigned DEFAULT 0 NOT NULL,"
c_u
=
"
$c_u
max_connections int(11) unsigned DEFAULT 0 NOT NULL,"
c_u
=
"
$c_u
max_connections int(11) unsigned DEFAULT 0 NOT NULL,"
c_u
=
"
$c_u
PRIMARY KEY Host (Host,User)"
c_u
=
"
$c_u
PRIMARY KEY Host (Host,User)"
c_u
=
"
$c_u
)"
c_u
=
"
$c_u
)
engine=MyISAM
"
c_u
=
"
$c_u
comment='Users and global privileges';"
c_u
=
"
$c_u
comment='Users and global privileges';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"test"
...
@@ -179,7 +179,7 @@ then
...
@@ -179,7 +179,7 @@ then
c_f
=
"
$c_f
dl char(128) DEFAULT '' NOT NULL,"
c_f
=
"
$c_f
dl char(128) DEFAULT '' NOT NULL,"
c_f
=
"
$c_f
type enum ('function','aggregate') NOT NULL,"
c_f
=
"
$c_f
type enum ('function','aggregate') NOT NULL,"
c_f
=
"
$c_f
PRIMARY KEY (name)"
c_f
=
"
$c_f
PRIMARY KEY (name)"
c_f
=
"
$c_f
)"
c_f
=
"
$c_f
)
engine=MyISAM
"
c_f
=
"
$c_f
comment='User defined functions';"
c_f
=
"
$c_f
comment='User defined functions';"
fi
fi
...
@@ -200,7 +200,7 @@ then
...
@@ -200,7 +200,7 @@ then
c_t
=
"
$c_t
Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
c_t
=
"
$c_t
Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
c_t
=
"
$c_t
PRIMARY KEY (Host,Db,User,Table_name),"
c_t
=
"
$c_t
PRIMARY KEY (Host,Db,User,Table_name),"
c_t
=
"
$c_t
KEY Grantor (Grantor)"
c_t
=
"
$c_t
KEY Grantor (Grantor)"
c_t
=
"
$c_t
)"
c_t
=
"
$c_t
)
engine=MyISAM
"
c_t
=
"
$c_t
comment='Table privileges';"
c_t
=
"
$c_t
comment='Table privileges';"
fi
fi
...
@@ -219,7 +219,7 @@ then
...
@@ -219,7 +219,7 @@ then
c_c
=
"
$c_c
Timestamp timestamp(14),"
c_c
=
"
$c_c
Timestamp timestamp(14),"
c_c
=
"
$c_c
Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
c_c
=
"
$c_c
Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
c_c
=
"
$c_c
PRIMARY KEY (Host,Db,User,Table_name,Column_name)"
c_c
=
"
$c_c
PRIMARY KEY (Host,Db,User,Table_name,Column_name)"
c_c
=
"
$c_c
)"
c_c
=
"
$c_c
)
engine=MyISAM
"
c_c
=
"
$c_c
comment='Column privileges';"
c_c
=
"
$c_c
comment='Column privileges';"
fi
fi
...
@@ -238,7 +238,7 @@ then
...
@@ -238,7 +238,7 @@ then
c_ht
=
"
$c_ht
url nvarchar(128) not null,"
c_ht
=
"
$c_ht
url nvarchar(128) not null,"
c_ht
=
"
$c_ht
primary key (help_topic_id),"
c_ht
=
"
$c_ht
primary key (help_topic_id),"
c_ht
=
"
$c_ht
unique index (name)"
c_ht
=
"
$c_ht
unique index (name)"
c_ht
=
"
$c_ht
)"
c_ht
=
"
$c_ht
)
engine=MyISAM
"
c_ht
=
"
$c_ht
comment='help topics';"
c_ht
=
"
$c_ht
comment='help topics';"
fi
fi
...
@@ -257,7 +257,7 @@ then
...
@@ -257,7 +257,7 @@ then
c_hc
=
"
$c_hc
url nvarchar(128) not null,"
c_hc
=
"
$c_hc
url nvarchar(128) not null,"
c_hc
=
"
$c_hc
primary key (help_category_id),"
c_hc
=
"
$c_hc
primary key (help_category_id),"
c_hc
=
"
$c_hc
unique index (name)"
c_hc
=
"
$c_hc
unique index (name)"
c_hc
=
"
$c_hc
)"
c_hc
=
"
$c_hc
)
engine=MyISAM
"
c_hc
=
"
$c_hc
comment='help categories';"
c_hc
=
"
$c_hc
comment='help categories';"
fi
fi
...
@@ -272,7 +272,7 @@ then
...
@@ -272,7 +272,7 @@ then
c_hk
=
"
$c_hk
name nvarchar(64) not null,"
c_hk
=
"
$c_hk
name nvarchar(64) not null,"
c_hk
=
"
$c_hk
primary key (help_keyword_id),"
c_hk
=
"
$c_hk
primary key (help_keyword_id),"
c_hk
=
"
$c_hk
unique index (name)"
c_hk
=
"
$c_hk
unique index (name)"
c_hk
=
"
$c_hk
)"
c_hk
=
"
$c_hk
)
engine=MyISAM
"
c_hk
=
"
$c_hk
comment='help keywords';"
c_hk
=
"
$c_hk
comment='help keywords';"
fi
fi
...
@@ -286,7 +286,7 @@ then
...
@@ -286,7 +286,7 @@ then
c_hr
=
"
$c_hr
help_topic_id int unsigned not null references help_topic,"
c_hr
=
"
$c_hr
help_topic_id int unsigned not null references help_topic,"
c_hr
=
"
$c_hr
help_keyword_id int unsigned not null references help_keyword,"
c_hr
=
"
$c_hr
help_keyword_id int unsigned not null references help_keyword,"
c_hr
=
"
$c_hr
primary key (help_keyword_id, help_topic_id)"
c_hr
=
"
$c_hr
primary key (help_keyword_id, help_topic_id)"
c_hr
=
"
$c_hr
)"
c_hr
=
"
$c_hr
)
engine=MyISAM
"
c_hr
=
"
$c_hr
comment='keyword-topic relation';"
c_hr
=
"
$c_hr
comment='keyword-topic relation';"
fi
fi
...
@@ -300,7 +300,7 @@ then
...
@@ -300,7 +300,7 @@ then
c_tzn
=
"
$c_tzn
Name char(64) NOT NULL,"
c_tzn
=
"
$c_tzn
Name char(64) NOT NULL,"
c_tzn
=
"
$c_tzn
Time_zone_id int unsigned NOT NULL,"
c_tzn
=
"
$c_tzn
Time_zone_id int unsigned NOT NULL,"
c_tzn
=
"
$c_tzn
PRIMARY KEY Name (Name)"
c_tzn
=
"
$c_tzn
PRIMARY KEY Name (Name)"
c_tzn
=
"
$c_tzn
) DEFAULT CHARACTER SET latin1"
c_tzn
=
"
$c_tzn
)
engine=MyISAM
DEFAULT CHARACTER SET latin1"
c_tzn
=
"
$c_tzn
comment='Time zone names';"
c_tzn
=
"
$c_tzn
comment='Time zone names';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"test"
...
@@ -322,7 +322,7 @@ then
...
@@ -322,7 +322,7 @@ then
c_tz
=
"
$c_tz
Time_zone_id int unsigned NOT NULL auto_increment,"
c_tz
=
"
$c_tz
Time_zone_id int unsigned NOT NULL auto_increment,"
c_tz
=
"
$c_tz
Use_leap_seconds enum('Y','N') DEFAULT 'N' NOT NULL,"
c_tz
=
"
$c_tz
Use_leap_seconds enum('Y','N') DEFAULT 'N' NOT NULL,"
c_tz
=
"
$c_tz
PRIMARY KEY TzId (Time_zone_id)"
c_tz
=
"
$c_tz
PRIMARY KEY TzId (Time_zone_id)"
c_tz
=
"
$c_tz
) DEFAULT CHARACTER SET latin1"
c_tz
=
"
$c_tz
)
engine=MyISAM
DEFAULT CHARACTER SET latin1"
c_tz
=
"
$c_tz
comment='Time zones';"
c_tz
=
"
$c_tz
comment='Time zones';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"test"
...
@@ -343,7 +343,7 @@ then
...
@@ -343,7 +343,7 @@ then
c_tzt
=
"
$c_tzt
Transition_time bigint signed NOT NULL,"
c_tzt
=
"
$c_tzt
Transition_time bigint signed NOT NULL,"
c_tzt
=
"
$c_tzt
Transition_type_id int unsigned NOT NULL,"
c_tzt
=
"
$c_tzt
Transition_type_id int unsigned NOT NULL,"
c_tzt
=
"
$c_tzt
PRIMARY KEY TzIdTranTime (Time_zone_id, Transition_time)"
c_tzt
=
"
$c_tzt
PRIMARY KEY TzIdTranTime (Time_zone_id, Transition_time)"
c_tzt
=
"
$c_tzt
) DEFAULT CHARACTER SET latin1"
c_tzt
=
"
$c_tzt
)
engine=MyISAM
DEFAULT CHARACTER SET latin1"
c_tzt
=
"
$c_tzt
comment='Time zone transitions';"
c_tzt
=
"
$c_tzt
comment='Time zone transitions';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"test"
...
@@ -565,7 +565,7 @@ then
...
@@ -565,7 +565,7 @@ then
c_tztt
=
"
$c_tztt
Is_DST tinyint unsigned DEFAULT 0 NOT NULL,"
c_tztt
=
"
$c_tztt
Is_DST tinyint unsigned DEFAULT 0 NOT NULL,"
c_tztt
=
"
$c_tztt
Abbreviation char(8) DEFAULT '' NOT NULL,"
c_tztt
=
"
$c_tztt
Abbreviation char(8) DEFAULT '' NOT NULL,"
c_tztt
=
"
$c_tztt
PRIMARY KEY TzIdTrTId (Time_zone_id, Transition_type_id)"
c_tztt
=
"
$c_tztt
PRIMARY KEY TzIdTrTId (Time_zone_id, Transition_type_id)"
c_tztt
=
"
$c_tztt
) DEFAULT CHARACTER SET latin1"
c_tztt
=
"
$c_tztt
)
engine=MyISAM
DEFAULT CHARACTER SET latin1"
c_tztt
=
"
$c_tztt
comment='Time zone transition types';"
c_tztt
=
"
$c_tztt
comment='Time zone transition types';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"test"
...
@@ -601,7 +601,7 @@ then
...
@@ -601,7 +601,7 @@ then
c_tzls
=
"
$c_tzls
Transition_time bigint signed NOT NULL,"
c_tzls
=
"
$c_tzls
Transition_time bigint signed NOT NULL,"
c_tzls
=
"
$c_tzls
Correction int signed NOT NULL,"
c_tzls
=
"
$c_tzls
Correction int signed NOT NULL,"
c_tzls
=
"
$c_tzls
PRIMARY KEY TranTime (Transition_time)"
c_tzls
=
"
$c_tzls
PRIMARY KEY TranTime (Transition_time)"
c_tzls
=
"
$c_tzls
) DEFAULT CHARACTER SET latin1"
c_tzls
=
"
$c_tzls
)
engine=MyISAM
DEFAULT CHARACTER SET latin1"
c_tzls
=
"
$c_tzls
comment='Leap seconds information for time zones';"
c_tzls
=
"
$c_tzls
comment='Leap seconds information for time zones';"
if
test
"
$1
"
=
"test"
if
test
"
$1
"
=
"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