Commit 5d9be4de authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi
Browse files

Portability fix

parent a9223e94
Loading
Loading
Loading
Loading
+9 −13
Original line number Diff line number Diff line
@@ -46,19 +46,15 @@
#define MTEST_VERSION "1.10"

#include <my_global.h>
#include <mysql_embed.h>
#include <my_sys.h>
#include <m_string.h>
#include <mysql.h>
#include <mysql_version.h>
#include <mysqld_error.h>
#include <m_ctype.h>
#ifdef OS2
#include <config-os2.h>
#else
 #include <my_config.h>
#endif
#include <my_dir.h>
#include <hash.h>
#include <mysqld_error.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
+3 −2
Original line number Diff line number Diff line
@@ -26,7 +26,8 @@
#include "mysql_version.h"
#include "lex.h"

bool opt_search=0,opt_verbose=0;
bool opt_search=0;
int  opt_verbose=0;
ulong opt_count=100000;

#define max_allowed_array  8000	// Don't generate bigger arrays than this
@@ -473,7 +474,7 @@ int main(int argc,char **argv)

  MY_INIT(argv[0]);

  start_value=4198729L; best_t1=6245075L;  best_t2=3686256L;  best_type=4; /* mode=5839  add=1  type: 0 */
  start_value=1060872L; best_t1=7930739L;  best_t2=4311642L;  best_type=3; /* mode=5333  add=6  type: 0 */
  if (get_options(argc,(char **) argv))
    exit(1);