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
3ae7b67a
Commit
3ae7b67a
authored
Jan 13, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
9e10645c
f3e73e26
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
35 additions
and
11 deletions
+35
-11
client/mysqltest.c
client/mysqltest.c
+5
-0
extra/my_print_defaults.c
extra/my_print_defaults.c
+5
-0
extra/perror.c
extra/perror.c
+5
-0
extra/resolve_stack_dump.c
extra/resolve_stack_dump.c
+5
-0
include/config-netware.h
include/config-netware.h
+1
-0
include/help_end.h
include/help_end.h
+1
-0
include/help_start.h
include/help_start.h
+2
-0
myisam/myisamlog.c
myisam/myisamlog.c
+2
-0
netware/BUILD/compile-netware-START
netware/BUILD/compile-netware-START
+2
-0
netware/BUILD/nwbootstrap
netware/BUILD/nwbootstrap
+1
-7
netware/my_manage.c
netware/my_manage.c
+2
-2
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+4
-2
No files found.
client/mysqltest.c
View file @
3ae7b67a
...
@@ -2321,6 +2321,9 @@ static struct my_option my_long_options[] =
...
@@ -2321,6 +2321,9 @@ static struct my_option my_long_options[] =
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
#include <help_start.h>
static
void
print_version
(
void
)
static
void
print_version
(
void
)
{
{
printf
(
"%s Ver %s Distrib %s, for %s (%s)
\n
"
,
my_progname
,
MTEST_VERSION
,
printf
(
"%s Ver %s Distrib %s, for %s (%s)
\n
"
,
my_progname
,
MTEST_VERSION
,
...
@@ -2339,6 +2342,8 @@ void usage()
...
@@ -2339,6 +2342,8 @@ void usage()
my_print_variables
(
my_long_options
);
my_print_variables
(
my_long_options
);
}
}
#include <help_end.h>
static
my_bool
static
my_bool
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
...
...
extra/my_print_defaults.c
View file @
3ae7b67a
...
@@ -55,6 +55,9 @@ static struct my_option my_long_options[] =
...
@@ -55,6 +55,9 @@ static struct my_option my_long_options[] =
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
#include <help_start.h>
static
void
usage
(
my_bool
version
)
static
void
usage
(
my_bool
version
)
{
{
printf
(
"%s Ver 1.6 for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
printf
(
"%s Ver 1.6 for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
...
@@ -69,6 +72,8 @@ static void usage(my_bool version)
...
@@ -69,6 +72,8 @@ static void usage(my_bool version)
printf
(
"
\n
Example usage:
\n
%s --config-file=my client mysql
\n
"
,
my_progname
);
printf
(
"
\n
Example usage:
\n
%s --config-file=my client mysql
\n
"
,
my_progname
);
}
}
#include <help_end.h>
static
my_bool
static
my_bool
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
...
...
extra/perror.c
View file @
3ae7b67a
...
@@ -113,12 +113,15 @@ static HA_ERRORS ha_errlist[]=
...
@@ -113,12 +113,15 @@ static HA_ERRORS ha_errlist[]=
};
};
#include <help_start.h>
static
void
print_version
(
void
)
static
void
print_version
(
void
)
{
{
printf
(
"%s Ver %s, for %s (%s)
\n
"
,
my_progname
,
PERROR_VERSION
,
printf
(
"%s Ver %s, for %s (%s)
\n
"
,
my_progname
,
PERROR_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
}
static
void
usage
(
void
)
static
void
usage
(
void
)
{
{
print_version
();
print_version
();
...
@@ -130,6 +133,8 @@ static void usage(void)
...
@@ -130,6 +133,8 @@ static void usage(void)
my_print_variables
(
my_long_options
);
my_print_variables
(
my_long_options
);
}
}
#include <help_end.h>
static
my_bool
static
my_bool
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
get_one_option
(
int
optid
,
const
struct
my_option
*
opt
__attribute__
((
unused
)),
...
...
extra/resolve_stack_dump.c
View file @
3ae7b67a
...
@@ -65,12 +65,16 @@ static struct my_option my_long_options[] =
...
@@ -65,12 +65,16 @@ static struct my_option my_long_options[] =
static
void
verify_sort
();
static
void
verify_sort
();
#include <help_start.h>
static
void
print_version
(
void
)
static
void
print_version
(
void
)
{
{
printf
(
"%s Ver %s Distrib %s, for %s (%s)
\n
"
,
my_progname
,
DUMP_VERSION
,
printf
(
"%s Ver %s Distrib %s, for %s (%s)
\n
"
,
my_progname
,
DUMP_VERSION
,
MYSQL_SERVER_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
MYSQL_SERVER_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
}
static
void
usage
()
static
void
usage
()
{
{
print_version
();
print_version
();
...
@@ -87,6 +91,7 @@ The numeric-dump-file should contain a numeric stack trace from mysqld.\n\
...
@@ -87,6 +91,7 @@ The numeric-dump-file should contain a numeric stack trace from mysqld.\n\
If the numeric-dump-file is not given, the stack trace is read from stdin.
\n
"
);
If the numeric-dump-file is not given, the stack trace is read from stdin.
\n
"
);
}
}
#include <help_end.h>
static
void
die
(
const
char
*
fmt
,
...)
static
void
die
(
const
char
*
fmt
,
...)
...
...
include/config-netware.h
View file @
3ae7b67a
...
@@ -45,6 +45,7 @@ extern "C" {
...
@@ -45,6 +45,7 @@ extern "C" {
#undef HAVE_SCHED_H
#undef HAVE_SCHED_H
#undef HAVE_SYS_MMAN_H
#undef HAVE_SYS_MMAN_H
#undef HAVE_SYNCH_H
#undef HAVE_SYNCH_H
#undef HAVE_MMAP
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
#define HAVE_PTHREAD_SIGMASK 1
#define HAVE_PTHREAD_SIGMASK 1
#define HAVE_PTHREAD_YIELD_ZERO_ARG 1
#define HAVE_PTHREAD_YIELD_ZERO_ARG 1
...
...
include/help_end.h
View file @
3ae7b67a
...
@@ -2,5 +2,6 @@
...
@@ -2,5 +2,6 @@
#undef printf
#undef printf
#undef puts
#undef puts
#undef fputs
#undef fputs
#undef fputc
#undef putchar
#undef putchar
#endif
#endif
include/help_start.h
View file @
3ae7b67a
...
@@ -4,4 +4,6 @@
...
@@ -4,4 +4,6 @@
#define printf consoleprintf
#define printf consoleprintf
#define puts(s) consoleprintf("%s\n",s)
#define puts(s) consoleprintf("%s\n",s)
#define fputs(s,f) puts(s)
#define fputs(s,f) puts(s)
#define fputc(s,f) consoleprintf("%c", s)
#define putchar(s) consoleprintf("%c", s)
#endif
#endif
myisam/myisamlog.c
View file @
3ae7b67a
...
@@ -247,6 +247,7 @@ static void get_options(register int *argc, register char ***argv)
...
@@ -247,6 +247,7 @@ static void get_options(register int *argc, register char ***argv)
/* Fall through */
/* Fall through */
case
'I'
:
case
'I'
:
case
'?'
:
case
'?'
:
#include <help_start.h>
printf
(
"%s Ver 1.4 for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
printf
(
"%s Ver 1.4 for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
MACHINE_TYPE
);
puts
(
"By Monty, for your professional use
\n
"
);
puts
(
"By Monty, for your professional use
\n
"
);
...
@@ -268,6 +269,7 @@ static void get_options(register int *argc, register char ***argv)
...
@@ -268,6 +269,7 @@ static void get_options(register int *argc, register char ***argv)
puts
(
"If a recover is done all writes and all possibly updates and deletes is done
\n
and errors are only counted."
);
puts
(
"If a recover is done all writes and all possibly updates and deletes is done
\n
and errors are only counted."
);
puts
(
"If one gives table names as arguments only these tables will be updated
\n
"
);
puts
(
"If one gives table names as arguments only these tables will be updated
\n
"
);
help
=
1
;
help
=
1
;
#include <help_end.h>
break
;
break
;
default:
default:
printf
(
"illegal option:
\"
-%c
\"\n
"
,
*
pos
);
printf
(
"illegal option:
\"
-%c
\"\n
"
,
*
pos
);
...
...
netware/BUILD/compile-netware-START
View file @
3ae7b67a
...
@@ -22,5 +22,7 @@ base_configs=" \
...
@@ -22,5 +22,7 @@ base_configs=" \
--enable-local-infile
\
--enable-local-infile
\
--with-extra-charsets=all
\
--with-extra-charsets=all
\
--prefix=N:/mysql
\
--prefix=N:/mysql
\
--without-mysqlmanager
\
--without-man
\
"
"
netware/BUILD/nwbootstrap
View file @
3ae7b67a
...
@@ -174,13 +174,7 @@ done
...
@@ -174,13 +174,7 @@ done
# create the libmysql.imp file in netware folder from libmysql/libmysql.def
# create the libmysql.imp file in netware folder from libmysql/libmysql.def
# file
# file
echo
"generating llibmysql.imp file..."
echo
"generating llibmysql.imp file..."
awk
'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}'
libmysql/libmysql.def
>
netware/libmysql.imp
awk
'BEGIN{x=0;} END{printf("\n");} x==1 {printf(" %s",$1); x++; next} x>1 {printf(",\n %s", $1);next} /EXPORTS/{x=1}'
libmysql/libmysql.def
>
netware/libmysql.imp
# create the libmysql.imp file in netware folder from libmysql/libmysql.def file
echo
"generating llibmysql.imp file..."
awk
'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}'
libmysql/libmysql.def
>
netware/libmysql.imp
# build linux tools
# build linux tools
echo
"compiling linux tools..."
echo
"compiling linux tools..."
./netware/BUILD/compile-linux-tools
./netware/BUILD/compile-linux-tools
...
...
netware/my_manage.c
View file @
3ae7b67a
...
@@ -73,7 +73,7 @@ void init_args(arg_list_t *al)
...
@@ -73,7 +73,7 @@ void init_args(arg_list_t *al)
Add an argument to a list.
Add an argument to a list.
******************************************************************************/
******************************************************************************/
void
add_arg
(
arg_list_t
*
al
,
char
*
format
,
...)
void
add_arg
(
arg_list_t
*
al
,
c
onst
c
har
*
format
,
...)
{
{
va_list
ap
;
va_list
ap
;
char
temp
[
PATH_MAX
];
char
temp
[
PATH_MAX
];
...
@@ -439,7 +439,7 @@ void del_tree(char *dir)
...
@@ -439,7 +439,7 @@ void del_tree(char *dir)
removef()
removef()
******************************************************************************/
******************************************************************************/
int
removef
(
char
*
format
,
...)
int
removef
(
c
onst
c
har
*
format
,
...)
{
{
va_list
ap
;
va_list
ap
;
char
path
[
PATH_MAX
];
char
path
[
PATH_MAX
];
...
...
scripts/make_binary_distribution.sh
View file @
3ae7b67a
...
@@ -235,8 +235,10 @@ rm -f $BASE/bin/Makefile* $BASE/bin/*.in $BASE/bin/*.sh $BASE/bin/mysql_install_
...
@@ -235,8 +235,10 @@ rm -f $BASE/bin/Makefile* $BASE/bin/*.in $BASE/bin/*.sh $BASE/bin/mysql_install_
# Copy system dependent files
# Copy system dependent files
#
#
if
[
$BASE_SYSTEM
=
"netware"
]
;
then
if
[
$BASE_SYSTEM
=
"netware"
]
;
then
cp
./netware/static_init_db.sql ./netware/init_db.sql
echo
"CREATE DATABASE mysql;"
>
$BASE
/bin/init_db.sql
./scripts/fill_help_tables < ./Docs/manual.texi
>>
./netware/init_db.sql
echo
"CREATE DATABASE test;"
>>
$BASE
/bin/init_db.sql
sh ./scripts/mysql_create_system_tables.sh real
>>
$BASE
/bin/init_db.sql
sh ./scripts/mysql_create_system_tables.sh
test
>
$BASE
/bin/test_db.sql
fi
fi
#
#
...
...
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