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
d3324c00
Commit
d3324c00
authored
Jul 11, 2011
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#12695969
Manually merged mysql-5.0 into mysql-5.1. conflicts ========= client/mysqlibinlog.cc
parents
e3fab622
cc17ce72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
4 deletions
+33
-4
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+2
-4
include/welcome_copyright_notice.h
include/welcome_copyright_notice.h
+31
-0
No files found.
client/mysqlbinlog.cc
View file @
d3324c00
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "mysql_priv.h"
#include "mysql_priv.h"
#include "log_event.h"
#include "log_event.h"
#include "sql_common.h"
#include "sql_common.h"
#include <welcome_copyright_notice.h> // ORACLE_WELCOME_COPYRIGHT_NOTICE
#define BIN_LOG_HEADER_SIZE 4
#define BIN_LOG_HEADER_SIZE 4
#define PROBE_HEADER_LEN (EVENT_LEN_OFFSET+4)
#define PROBE_HEADER_LEN (EVENT_LEN_OFFSET+4)
...
@@ -1249,10 +1250,7 @@ static void print_version()
...
@@ -1249,10 +1250,7 @@ static void print_version()
static
void
usage
()
static
void
usage
()
{
{
print_version
();
print_version
();
puts
(
"By Monty and Sasha, for your professional use
\n
\
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000, 2011"
));
This software comes with NO WARRANTY: This is free software,
\n
\
and you are welcome to modify and redistribute it under the GPL license.
\n
"
);
printf
(
"\
printf
(
"\
Dumps a MySQL binary log in a format usable for viewing or for piping to
\n
\
Dumps a MySQL binary log in a format usable for viewing or for piping to
\n
\
the mysql command line client.
\n\n
"
);
the mysql command line client.
\n\n
"
);
...
...
include/welcome_copyright_notice.h
0 → 100644
View file @
d3324c00
/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
#ifndef _welcome_copyright_notice_h_
#define _welcome_copyright_notice_h_
/*
This define specifies copyright notice which is displayed by every MySQL
program on start, or on help screen.
*/
#define ORACLE_WELCOME_COPYRIGHT_NOTICE(years) \
"Copyright (c) " years ", Oracle and/or its affiliates. All rights reserved.\n" \
"\n" \
"Oracle is a registered trademark of Oracle Corporation and/or its\n" \
"affiliates. Other names may be trademarks of their respective\n" \
"owners.\n"
#endif
/* _welcome_copyright_notice_h_ */
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