summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-25 22:00:14 +0300
committerunknown <monty@mysql.com>2004-05-25 22:00:14 +0300
commitb3851363ba8df0b3f55ecb358849a212db4b12a8 (patch)
tree2c56473da947b9807f0d1668171870a8e3dbc736 /myisam
parent699cbc02cc3eac51524a56fc106d013633f336f6 (diff)
downloadmariadb-git-b3851363ba8df0b3f55ecb358849a212db4b12a8.tar.gz
Added patches from Novell
Build-tools/Do-compile: Fixed indentation configure.in: Added patches from Novell Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS extra/perror.c: Fixed error number reporting to not report 'Unknown error' include/my_global.h: Defines to make NETWARE patches cleaner include/thr_alarm.h: Fixed wrong macro netware/mysql_install_db.c: Indentation fix
Diffstat (limited to 'myisam')
-rw-r--r--myisam/myisam_ftdump.c3
-rw-r--r--myisam/myisamchk.c4
-rw-r--r--myisam/myisampack.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/myisam/myisam_ftdump.c b/myisam/myisam_ftdump.c
index d06cb46bdc1..98548de26a4 100644
--- a/myisam/myisam_ftdump.c
+++ b/myisam/myisam_ftdump.c
@@ -258,15 +258,18 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
return 0;
}
+#include <help_start.h>
static void usage()
{
printf("Use: myisam_ftdump <table_name> <index_num>\n");
my_print_help(my_long_options);
my_print_variables(my_long_options);
+ NETWARE_SET_SCREEN_MODE(1);
exit(1);
}
+#include <help_end.h>
static void complain(int val) /* Kinda assert :-) */
{
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 3df42fb4da7..5377ecc18a5 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -323,10 +323,13 @@ static struct my_option my_long_options[] =
};
+#include <help_start.h>
+
static void print_version(void)
{
printf("%s Ver 2.6 for %s at %s\n", my_progname, SYSTEM_TYPE,
MACHINE_TYPE);
+ NETWARE_SET_SCREEN_MODE(1);
}
@@ -433,6 +436,7 @@ static void usage(void)
my_print_variables(my_long_options);
}
+#include <help_end.h>
/* Read options */
diff --git a/myisam/myisampack.c b/myisam/myisampack.c
index 800203a30e2..872fcb49faf 100644
--- a/myisam/myisampack.c
+++ b/myisam/myisampack.c
@@ -266,12 +266,15 @@ static struct my_option my_long_options[] =
{ 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)
{
printf("%s Ver 1.22 for %s on %s\n", my_progname, SYSTEM_TYPE, MACHINE_TYPE);
+ NETWARE_SET_SCREEN_MODE(1);
}
+
static void usage(void)
{
print_version();
@@ -290,6 +293,7 @@ static void usage(void)
my_print_variables(my_long_options);
}
+#include <help_end.h>
static my_bool
get_one_option(int optid, const struct my_option *opt __attribute__((unused)),