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
a9cffb3e
Commit
a9cffb3e
authored
Dec 17, 2007
by
tnurnberg@white.intern.koehntopp.de
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/misc/mysql/32350/50-32350
into mysql.com:/misc/mysql/32350/51-32350
parents
f282ce6f
c0f5a7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
client/mysqldump.c
client/mysqldump.c
+3
-1
No files found.
client/mysqldump.c
View file @
a9cffb3e
...
@@ -586,7 +586,9 @@ static void write_header(FILE *sql_file, char *db_name)
...
@@ -586,7 +586,9 @@ static void write_header(FILE *sql_file, char *db_name)
{
{
if
(
opt_comments
)
if
(
opt_comments
)
{
{
fprintf
(
sql_file
,
"-- MySQL dump %s
\n
--
\n
"
,
DUMP_VERSION
);
fprintf
(
sql_file
,
"-- MySQL dump %s Distrib %s, for %s (%s)
\n
--
\n
"
,
DUMP_VERSION
,
MYSQL_SERVER_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
fprintf
(
sql_file
,
"-- Host: %s Database: %s
\n
"
,
fprintf
(
sql_file
,
"-- Host: %s Database: %s
\n
"
,
current_host
?
current_host
:
"localhost"
,
db_name
?
db_name
:
current_host
?
current_host
:
"localhost"
,
db_name
?
db_name
:
""
);
""
);
...
...
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