From 72345f2b474310bc72af7fb4e3b25c7051dfd6cd Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 6 Aug 2002 16:12:52 +0300 Subject: 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 --- sql/gen_lex_hash.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sql/gen_lex_hash.cc') 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); } -- cgit v1.2.1