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
7a6a543d
Commit
7a6a543d
authored
Dec 20, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqldump now adds "ALTER TABLE ... DISABLE KEYS" to the dump
manual updated
parent
22204dc9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
45 deletions
+74
-45
Docs/manual.texi
Docs/manual.texi
+18
-1
client/mysqldump.c
client/mysqldump.c
+56
-44
No files found.
Docs/manual.texi
View file @
7a6a543d
...
@@ -8050,6 +8050,10 @@ version 4.0;
...
@@ -8050,6 +8050,10 @@ version 4.0;
@itemize @bullet
@itemize @bullet
@item
@item
To use @code{MATCH ... AGAINST (... IN BOOLEAN MODE)} with your tables,
you need to rebuild them with @code{ALTER TABLE table_name TYPE=MyISAM},
@strong{even} if they are of @code{MyISAM} type.
@item
@code{LOCATE()} and @code{INSTR()} are case sensitive if neither
@code{LOCATE()} and @code{INSTR()} are case sensitive if neither
argument is a binary string.
argument is a binary string.
@item
@item
...
@@ -22089,8 +22093,12 @@ is @code{localhost}.
...
@@ -22089,8 +22093,12 @@ is @code{localhost}.
Lock all tables before starting the dump. The tables are locked with
Lock all tables before starting the dump. The tables are locked with
@code{READ LOCAL} to allow concurrent inserts in the case of @code{MyISAM}
@code{READ LOCAL} to allow concurrent inserts in the case of @code{MyISAM}
tables.
tables.
@item -K, --no-disable-keys.
@code{/*!40000 ALTER TABLE tb_name DISABLE KEYS */;} and
@code{/*!40000 ALTER TABLE tb_name ENABLE KEYS */;}
will not be put in the output.
@item -n, --no-create-db
@item -n, --no-create-db
'CREATE DATABASE /*!32312 IF NOT EXISTS*/ db_name;'
will not be put in the
@code{CREATE DATABASE /*!32312 IF NOT EXISTS*/ db_name;}
will not be put in the
output. The above line will be added otherwise, if --databases or
output. The above line will be added otherwise, if --databases or
--all-databases option was given.
--all-databases option was given.
@item -t, --no-create-info
@item -t, --no-create-info
...
@@ -22139,6 +22147,10 @@ Verbose mode. Print out more information on what the program does.
...
@@ -22139,6 +22147,10 @@ Verbose mode. Print out more information on what the program does.
Print version information and exit.
Print version information and exit.
@item -w, --where='where-condition'
@item -w, --where='where-condition'
Dump only selected records. Note that quotes are mandatory:
Dump only selected records. Note that quotes are mandatory:
@item -X, --xml
Dumps a database as well formed XML
@item -x, --first-slave
Locks all tables across all databases.
@example
@example
"--where=user='jimf'" "-wuserid>1" "-wuserid<1"
"--where=user='jimf'" "-wuserid>1" "-wuserid<1"
...
@@ -47795,6 +47807,11 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
...
@@ -47795,6 +47807,11 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@itemize @bullet
@item
@item
@code{mysqldump} now puts @code{ALTER TABLE table_name DISABLE KEYS} and
@code{ALTER TABLE table_name DISABLE KEYS} in the sql dump.
@item
Added @code{mysql_fix_extensions} script
@item
Added functions @code{des_encrypt()} and @code{des_decrypt()}.
Added functions @code{des_encrypt()} and @code{des_decrypt()}.
@item
@item
Added statement FLUSH DES_KEY_FILE.
Added statement FLUSH DES_KEY_FILE.
client/mysqldump.c
View file @
7a6a543d
This diff is collapsed.
Click to expand it.
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