Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
StoneAtom
stonedb
提交
1008ff0a
stonedb
项目概览
StoneAtom
/
stonedb
12 个月 前同步成功
通知
7
Star
817
Fork
141
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
stonedb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
1008ff0a
编写于
7月 28, 2022
作者:
C
cxd
提交者:
GitHub
7月 28, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(stonedb): update the copyright date time (#321) (#324)
上级
d72812fa
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
31 addition
and
30 deletion
+31
-30
client/base/help_options.cc
client/base/help_options.cc
+4
-4
client/check/mysqlcheck.cc
client/check/mysqlcheck.cc
+1
-1
client/mysql.cc
client/mysql.cc
+2
-2
client/mysql_config_editor.cc
client/mysql_config_editor.cc
+2
-2
client/mysql_install_db.cc
client/mysql_install_db.cc
+1
-1
client/mysql_secure_installation.cc
client/mysql_secure_installation.cc
+1
-1
client/mysql_ssl_rsa_setup.cc
client/mysql_ssl_rsa_setup.cc
+1
-1
client/mysqladmin.cc
client/mysqladmin.cc
+2
-2
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+1
-1
client/mysqldump.c
client/mysqldump.c
+1
-1
client/mysqlimport.c
client/mysqlimport.c
+1
-1
client/mysqlshow.c
client/mysqlshow.c
+1
-1
client/mysqlslap.cc
client/mysqlslap.cc
+1
-1
client/mysqltest.cc
client/mysqltest.cc
+1
-1
extra/innochecksum.cc
extra/innochecksum.cc
+1
-1
extra/lz4_decompress.cc
extra/lz4_decompress.cc
+1
-1
extra/my_print_defaults.c
extra/my_print_defaults.c
+1
-1
extra/perror.c
extra/perror.c
+1
-1
extra/resolve_stack_dump.cc
extra/resolve_stack_dump.cc
+1
-1
include/welcome_copyright_notice.h
include/welcome_copyright_notice.h
+1
-0
sql/gen_lex_hash.cc
sql/gen_lex_hash.cc
+1
-1
sql/gen_lex_token.cc
sql/gen_lex_token.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
storage/archive/archive_reader.c
storage/archive/archive_reader.c
+1
-1
storage/myisam/myisampack.c
storage/myisam/myisampack.c
+1
-1
未找到文件。
client/base/help_options.cc
浏览文件 @
1008ff0a
...
...
@@ -88,16 +88,16 @@ void Mysql::Tools::Base::Options::Help_options::print_usage()
if
(
first_year_str
==
COPYRIGHT_NOTICE_CURRENT_YEAR
)
{
copyright
=
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_
CURRENT
_YEAR
);
copyright
=
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_
STONEDB_BEGIN
_YEAR
);
}
else
{
#define FIRST_YEAR_CONSTANT "$first_year$"
string
first_year_constant_str
=
FIRST_YEAR_CONSTANT
;
copyright
=
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
FIRST_YEAR_CONSTANT
);
copyright
=
copyright
.
replace
(
copyright
.
find
(
first_year_constant_str
),
first_year_constant_str
.
length
(),
first_year_str
);
copyright
=
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
);
/*
copyright= copyright.replace(copyright.find(first_year_constant_str),
first_year_constant_str.length(), first_year_str);
*/
}
printf
(
"%s
\n
%s
\n
"
,
...
...
client/check/mysqlcheck.cc
浏览文件 @
1008ff0a
...
...
@@ -246,7 +246,7 @@ static void print_version(void)
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"This program can be used to CHECK (-c, -m, -C), REPAIR (-r), ANALYZE (-a),"
);
puts
(
"or OPTIMIZE (-o) tables. Some of the options (like -e or -q) can be"
);
puts
(
"used at the same time. Not all options are supported by all storage engines."
);
...
...
client/mysql.cc
浏览文件 @
1008ff0a
...
...
@@ -1363,7 +1363,7 @@ int main(int argc,char *argv[])
mysql_thread_id
(
&
mysql
),
server_version_string
(
&
mysql
));
put_info
((
char
*
)
glob_buffer
.
ptr
(),
INFO_INFO
);
put_info
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
),
INFO_INFO
);
put_info
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
),
INFO_INFO
);
if
(
!
status
.
batch
)
{
...
...
@@ -1925,7 +1925,7 @@ static void usage(int version)
if
(
version
)
return
;
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"Usage: %s [OPTIONS] [database]
\n
"
,
my_progname
);
/*
Turn default for zombies off so that the help on how to
...
...
client/mysql_config_editor.cc
浏览文件 @
1008ff0a
...
...
@@ -1470,7 +1470,7 @@ static void my_perror(const char *msg)
static
void
usage_command
(
int
command
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2012"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"MySQL Configuration Utility."
);
printf
(
"
\n
Description: %s
\n
"
,
command_data
[
command
].
description
);
printf
(
"Usage: %s [program options] [%s [command options]]
\n
"
,
...
...
@@ -1483,7 +1483,7 @@ static void usage_command(int command)
static
void
usage_program
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2012"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"MySQL Configuration Utility."
);
printf
(
"Usage: %s [program options] [command [command options]]
\n
"
,
my_progname
);
...
...
client/mysql_install_db.cc
浏览文件 @
1008ff0a
...
...
@@ -329,7 +329,7 @@ void print_version(const string &p)
void
usage
(
const
string
&
p
)
{
print_version
(
p
);
cout
<<
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2015"
)
<<
endl
cout
<<
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
)
<<
endl
<<
"MySQL Database Deployment Utility."
<<
endl
<<
"Usage: "
<<
p
...
...
client/mysql_secure_installation.cc
浏览文件 @
1008ff0a
...
...
@@ -102,7 +102,7 @@ static void print_version(void)
static
void
usage
()
{
print_version
();
fprintf
(
stdout
,
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2013"
));
fprintf
(
stdout
,
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
fprintf
(
stdout
,
"
\n
MySQL Configuration Utility."
);
fprintf
(
stdout
,
"Usage: %s [OPTIONS]
\n
"
,
my_progname
);
my_print_help
(
my_connection_options
);
...
...
client/mysql_ssl_rsa_setup.cc
浏览文件 @
1008ff0a
...
...
@@ -424,7 +424,7 @@ static
void
usage
(
void
)
{
print_version
();
cout
<<
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2015"
))
<<
endl
cout
<<
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
))
<<
endl
<<
"MySQL SSL Certificate and RSA Key Generation Utility"
<<
endl
<<
"Usage : "
<<
my_progname
<<
" [OPTIONS]"
<<
endl
;
...
...
client/mysqladmin.cc
浏览文件 @
1008ff0a
...
...
@@ -785,7 +785,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
case
ADMIN_VER
:
new_line
=
1
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"Server version
\t\t
%s
\n
"
,
mysql_get_server_info
(
mysql
));
printf
(
"Protocol version
\t
%d
\n
"
,
mysql_get_proto_info
(
mysql
));
printf
(
"Connection
\t\t
%s
\n
"
,
mysql_get_host_info
(
mysql
));
...
...
@@ -1279,7 +1279,7 @@ static void print_version(void)
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Administration program for the mysqld daemon."
);
printf
(
"Usage: %s [OPTIONS] command command....
\n
"
,
my_progname
);
/*
...
...
client/mysqlbinlog.cc
浏览文件 @
1008ff0a
...
...
@@ -2070,7 +2070,7 @@ static void print_version()
static
void
usage
()
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"\
Dumps a MySQL binary log in a format usable for viewing or for piping to
\n
\
the mysql command line client.
\n\n
"
);
...
...
client/mysqldump.c
浏览文件 @
1008ff0a
...
...
@@ -666,7 +666,7 @@ static void usage(void)
{
struct
my_option
*
optp
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Dumping structure and contents of MySQL databases and tables."
);
short_usage_sub
();
#if defined(STONEDB)
...
...
client/mysqlimport.c
浏览文件 @
1008ff0a
...
...
@@ -225,7 +225,7 @@ static void usage(void)
{
struct
my_option
*
optp
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"\
Loads tables from text files in various formats. The base name of the
\n
\
text file must be the name of the table that should be used.
\n
\
...
...
client/mysqlshow.c
浏览文件 @
1008ff0a
...
...
@@ -304,7 +304,7 @@ static void usage(void)
{
struct
my_option
*
optp
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Shows the structure of a MySQL database (databases, tables, and columns).
\n
"
);
printf
(
"Usage: %s [OPTIONS] [database [table [column]]]
\n
"
,
my_progname
);
puts
(
"
\n
\
...
...
client/mysqlslap.cc
浏览文件 @
1008ff0a
...
...
@@ -741,7 +741,7 @@ static void usage(void)
{
struct
my_option
*
optp
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2005"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Run a query multiple times against the server.
\n
"
);
printf
(
"Usage: %s [OPTIONS]
\n
"
,
my_progname
);
print_defaults
(
"my"
,
load_default_groups
);
...
...
client/mysqltest.cc
浏览文件 @
1008ff0a
...
...
@@ -7200,7 +7200,7 @@ void print_version(void)
void
usage
()
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"Runs a test against the mysql server and compares output with a results file.
\n\n
"
);
printf
(
"Usage: %s [OPTIONS] [database] < test_file
\n
"
,
my_progname
);
my_print_help
(
my_long_options
);
...
...
extra/innochecksum.cc
浏览文件 @
1008ff0a
...
...
@@ -982,7 +982,7 @@ static void print_version(void)
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"InnoDB offline file checksum utility.
\n
"
);
printf
(
"Usage: %s [-c] [-s <start page>] [-e <end page>] "
"[-p <page>] [-v] [-a <allow mismatches>] [-n] "
...
...
extra/lz4_decompress.cc
浏览文件 @
1008ff0a
...
...
@@ -32,7 +32,7 @@ static void usage()
{
printf
(
"%s Ver 1.7 for %s at %s
\n
"
,
"lz4_decompress"
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2015"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Decompress data compressed by mysqlpump using lz4 compression "
"algorithm by reading from input file and writing uncompressed "
"data to output file"
);
...
...
extra/my_print_defaults.c
浏览文件 @
1008ff0a
...
...
@@ -115,7 +115,7 @@ static void usage(my_bool version)
MACHINE_TYPE
);
if
(
version
)
return
;
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Prints all arguments that is give to some program using the default files"
);
printf
(
"Usage: %s [OPTIONS] groups
\n
"
,
my_progname
);
my_print_help
(
my_long_options
);
...
...
extra/perror.c
浏览文件 @
1008ff0a
...
...
@@ -91,7 +91,7 @@ static void print_version(void)
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"Print a description for a system error code or a MySQL error code.
\n
"
);
printf
(
"If you want to get the error for a negative error code, you should use
\n
-- before the first error code to tell perror that there was no more options.
\n\n
"
);
printf
(
"Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]
\n
"
,
my_progname
);
...
...
extra/resolve_stack_dump.cc
浏览文件 @
1008ff0a
...
...
@@ -88,7 +88,7 @@ static void print_version(void)
static
void
usage
()
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2001"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
printf
(
"Resolve numeric stack strace dump into symbols.
\n\n
"
);
printf
(
"Usage: %s [OPTIONS] symbols-file [numeric-dump-file]
\n
"
,
my_progname
);
...
...
include/welcome_copyright_notice.h
浏览文件 @
1008ff0a
...
...
@@ -23,6 +23,7 @@
#ifndef _welcome_copyright_notice_h_
#define _welcome_copyright_notice_h_
#define COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR "2021"
#define COPYRIGHT_NOTICE_CURRENT_YEAR "2022"
/*
...
...
sql/gen_lex_hash.cc
浏览文件 @
1008ff0a
...
...
@@ -354,7 +354,7 @@ int main(int argc,char **argv)
printf
(
"/*
\n\n
Do "
"not "
"edit "
"this "
"file "
"directly!
\n\n
*/
\n
"
);
puts
(
"/*"
);
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"*/"
);
/* Broken up to indicate that it's not advice to you, gentle reader. */
...
...
sql/gen_lex_token.cc
浏览文件 @
1008ff0a
...
...
@@ -387,7 +387,7 @@ void print_tokens()
int
main
(
int
argc
,
char
**
argv
)
{
puts
(
"/*"
);
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2011"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"*/"
);
printf
(
"/*
\n
"
);
...
...
sql/mysqld.cc
浏览文件 @
1008ff0a
...
...
@@ -7113,7 +7113,7 @@ static void usage(void)
if
(
!
default_collation_name
)
default_collation_name
=
(
char
*
)
default_charset_info
->
name
;
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2000"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Starts the MySQL database server.
\n
"
);
printf
(
"Usage: %s [OPTIONS]
\n
"
,
my_progname
);
if
(
!
opt_verbose
)
...
...
storage/archive/archive_reader.c
浏览文件 @
1008ff0a
...
...
@@ -395,7 +395,7 @@ static struct my_option my_long_options[] =
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2007"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Read and modify Archive files directly
\n
"
);
printf
(
"Usage: %s [OPTIONS] file_to_be_looked_at [file_for_backup]
\n
"
,
my_progname
);
...
...
storage/myisam/myisampack.c
浏览文件 @
1008ff0a
...
...
@@ -328,7 +328,7 @@ static void print_version(void)
static
void
usage
(
void
)
{
print_version
();
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
"2002"
));
puts
(
ORACLE_WELCOME_COPYRIGHT_NOTICE
(
COPYRIGHT_NOTICE_STONEDB_BEGIN_YEAR
));
puts
(
"Pack a MyISAM-table to take much less space."
);
puts
(
"Keys are not updated, you must run myisamchk -rq on the datafile"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录