summaryrefslogtreecommitdiff
path: root/sql/gen_lex_hash.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-06 16:12:52 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-06 16:12:52 +0300
commit72345f2b474310bc72af7fb4e3b25c7051dfd6cd (patch)
treeec56e69057df802b4810a80947eb79d8ffdd2a99 /sql/gen_lex_hash.cc
parent4c1712e40171e2861359878ea885e14936298acf (diff)
downloadmariadb-git-72345f2b474310bc72af7fb4e3b25c7051dfd6cd.tar.gz
Better error messages for mysql-test-run
Added option --host to mysqlhotcopy mysql-test/mysql-test-run.sh: Added error message if the server doesn't start. Increase connect timeout a bit (for running under purify). mysql-test/t/rpl000001.test: Longer sleep time (for running under purify) scripts/mysqlhotcopy.sh: Added option --host for usage with TCP/IP connections sql/gen_lex_hash.cc: Fixed typo
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r--sql/gen_lex_hash.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc
index 22e40ff2830..f94d8dddb59 100644
--- a/sql/gen_lex_hash.cc
+++ b/sql/gen_lex_hash.cc
@@ -26,7 +26,8 @@
#include "mysql_version.h"
#include "lex.h"
-bool opt_search=0,opt_verbose=0;
+bool opt_search=0;
+uint opt_verbose=0;
ulong opt_count=100000;
#define max_allowed_array 8000 // Don't generate bigger arrays than this
@@ -526,8 +527,7 @@ int main(int argc,char **argv)
best_functype);
}
if (opt_verbose && (i % 20000) == 0)
- printf("\nstart_value=%ldL; best_t1=%ldL; best_t2=%ldL; best_type=%d;
-/* mode=%d add=%d type: %d */\n",
+ printf("\nstart_value=%ldL; best_t1=%ldL; best_t2=%ldL; best_type=%d; /* mode=%d add=%d type: %d */\n",
best_start_value,best_t1,best_t2,best_type,best_mod,best_add,
best_functype);
}