summaryrefslogtreecommitdiff
path: root/myisam/ft_dump.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-11-28 17:55:45 +0100
committerserg@serg.mysql.com <>2001-11-28 17:55:45 +0100
commit4a5ca1073bd6e7f20beec01e83b6ad8bdd29af6d (patch)
treecaee073830ac75c7f6485bf0a5d92ffda5d16255 /myisam/ft_dump.c
parent79258183fd6f94736b09690c587575bb2aaaf1eb (diff)
downloadmariadb-git-4a5ca1073bd6e7f20beec01e83b6ad8bdd29af6d.tar.gz
boolean fulltext search without an index
Diffstat (limited to 'myisam/ft_dump.c')
-rw-r--r--myisam/ft_dump.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/myisam/ft_dump.c b/myisam/ft_dump.c
index 2c85669ff0e..940164f89c5 100644
--- a/myisam/ft_dump.c
+++ b/myisam/ft_dump.c
@@ -159,7 +159,7 @@ err:
return 0;
}
-const char *options="dscve:h";
+const char *options="dscvh";
static void get_options(int argc, char *argv[])
{
@@ -184,7 +184,15 @@ static void get_options(int argc, char *argv[])
static void usage(char *argv[])
{
- printf("Use: %s [-%s] <table_name> <key_no>\n", *argv, options);
+ printf("
+Use: %s [-%s] <table_name> <index_no>
+
+-d dump index (incl. data offsets and word weights)
+-s report global stats
+-c calculate per-word stats (counts and global weights)
+-v be verbose
+-h this text\n
+", *argv, options);
exit(1);
}