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
90f76298
Commit
90f76298
authored
Jul 05, 2007
by
bar@bar.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bar/mysql-work/mysql-5.0-rpl
into mysql.com:/home/bar/mysql-work/mysql-5.1-new-rpl
parents
67f8a6a5
b351b0f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
strings/conf_to_src.c
strings/conf_to_src.c
+23
-0
strings/ctype-extra.c
strings/ctype-extra.c
+15
-0
No files found.
strings/conf_to_src.c
View file @
90f76298
...
@@ -243,6 +243,28 @@ void dispcset(FILE *f,CHARSET_INFO *cs)
...
@@ -243,6 +243,28 @@ void dispcset(FILE *f,CHARSET_INFO *cs)
}
}
static
void
fprint_copyright
(
FILE
*
file
)
{
fprintf
(
file
,
"/* Copyright (C) 2000-2007 MySQL AB
\n
"
"
\n
"
" This program is free software; you can redistribute it and/or modify
\n
"
" it under the terms of the GNU General Public License as published by
\n
"
" the Free Software Foundation; version 2 of the License.
\n
"
"
\n
"
" This program is distributed in the hope that it will be useful,
\n
"
" but WITHOUT ANY WARRANTY; without even the implied warranty of
\n
"
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\n
"
" GNU General Public License for more details.
\n
"
"
\n
"
" You should have received a copy of the GNU General Public License
\n
"
" along with this program; if not, write to the Free Software
\n
"
" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
\n
"
"
\n
"
);
}
int
int
main
(
int
argc
,
char
**
argv
__attribute__
((
unused
)))
main
(
int
argc
,
char
**
argv
__attribute__
((
unused
)))
{
{
...
@@ -283,6 +305,7 @@ main(int argc, char **argv __attribute__((unused)))
...
@@ -283,6 +305,7 @@ main(int argc, char **argv __attribute__((unused)))
"directory:
\n
"
);
"directory:
\n
"
);
fprintf
(
f
,
" ./conf_to_src ../sql/share/charsets/ > FILE
\n
"
);
fprintf
(
f
,
" ./conf_to_src ../sql/share/charsets/ > FILE
\n
"
);
fprintf
(
f
,
"*/
\n\n
"
);
fprintf
(
f
,
"*/
\n\n
"
);
fprint_copyright
(
f
);
fprintf
(
f
,
"#include <my_global.h>
\n
"
);
fprintf
(
f
,
"#include <my_global.h>
\n
"
);
fprintf
(
f
,
"#include <m_ctype.h>
\n\n
"
);
fprintf
(
f
,
"#include <m_ctype.h>
\n\n
"
);
...
...
strings/ctype-extra.c
View file @
90f76298
...
@@ -6,6 +6,21 @@
...
@@ -6,6 +6,21 @@
./conf_to_src ../sql/share/charsets/ > FILE
./conf_to_src ../sql/share/charsets/ > FILE
*/
*/
/* Copyright (C) 2000-2007 MySQL AB
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 */
#include <my_global.h>
#include <my_global.h>
#include <m_ctype.h>
#include <m_ctype.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