Commit 7c344a58 authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

post-merge fixes to make it compile. It still fails the fulltext test,

 (wrong error code) but I'll push it so that Sergei could clean up
 my merge
parent 72671338
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,5 +216,5 @@
#define ER_ERROR_WHEN_EXECUTING_COMMAND 1213
#define ER_WRONG_USAGE 1214
#define ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT 1215
#define ER_NO_PERSMISSION_TO_CREATE_USER 1216
#define ER_NO_PERMISSION_TO_CREATE_USER 1216
#define ER_ERROR_MESSAGES 217
+31 −25
Original line number Diff line number Diff line
@@ -111,31 +111,6 @@ DateOfAction TransactionID
member_id	nickname	voornaam
1		
2		
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t3	eq_ref	PRIMARY	PRIMARY	2	t1.gid	1	where used
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index; Using temporary; Using filesort
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	20	NULL	2	where used; Using index
a	b	c
@@ -252,3 +227,34 @@ a b c
1	1	
1	0	b
1	0	
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t3	eq_ref	PRIMARY	PRIMARY	2	t1.gid	1	where used
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index; Using temporary; Using filesort
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index; Using temporary; Using filesort
t3	eq_ref	PRIMARY	PRIMARY	2	t1.gid	1	where used
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ALL	NULL	NULL	NULL	NULL	6	Using temporary; Using filesort
t3	eq_ref	PRIMARY	PRIMARY	2	t1.skr	1	where used
+2 −2
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ mysqld_SOURCES = sql_lex.cc sql_handler.cc \
			sql_db.cc sql_table.cc sql_rename.cc sql_crypt.cc \
			sql_load.cc mf_iocache.cc field_conv.cc sql_show.cc \
			sql_udf.cc sql_analyse.cc sql_analyse.h sql_cache.cc \
			slave.cc sql_repl.cc \
			slave.cc sql_repl.cc sql_union.cc \
			mini_client.cc mini_client_errors.c \
			md5.c stacktrace.c 
gen_lex_hash_SOURCES =	gen_lex_hash.cc
+4 −3
Original line number Diff line number Diff line
@@ -555,13 +555,14 @@ extern ulong keybuff_size,sortbuff_size,max_item_sort_length,table_cache_size,
	     max_insert_delayed_threads, max_user_connections,
	     long_query_count,net_wait_timeout,net_interactive_timeout,
	     net_read_timeout,net_write_timeout,
	     what_to_log,flush_time,
	     what_to_log,flush_time,opt_sql_mode,
	     max_tmp_tables,max_heap_table_size,query_buff_size,
	     lower_case_table_names,thread_stack,thread_stack_min,
	     binlog_cache_size, max_binlog_cache_size;
	     binlog_cache_size, max_binlog_cache_size,record_rnd_cache_size;
extern ulong specialflag, current_pid;
extern bool low_priority_updates, using_update_log;
extern bool opt_sql_bin_update, opt_safe_show_db, opt_warnings;
extern bool opt_sql_bin_update, opt_safe_show_db, opt_warnings,
					     opt_safe_user_create;
extern char language[LIBLEN],reg_ext[FN_EXTLEN],blob_newline;
extern const char **errmesg;			/* Error messages */
extern const char *default_tx_isolation_name;
+4 −3
Original line number Diff line number Diff line
@@ -223,7 +223,8 @@ static bool opt_log,opt_update_log,opt_bin_log,opt_slow_log,opt_noacl,
	    opt_myisam_log=0,
            opt_large_files=sizeof(my_off_t) > 4;
bool opt_sql_bin_update = 0, opt_log_slave_updates = 0, opt_safe_show_db=0,
  opt_show_slave_auth_info = 0, opt_old_rpl_compat = 0;
  opt_show_slave_auth_info = 0, opt_old_rpl_compat = 0,
  opt_safe_user_create = 0;
FILE *bootstrap_file=0;
int segfaulted = 0; // ensure we do not enter SIGSEGV handler twice
extern MASTER_INFO glob_mi;
@@ -271,7 +272,7 @@ ulong keybuff_size,sortbuff_size,max_item_sort_length,table_cache_size,
      query_buff_size, lower_case_table_names, mysqld_net_retry_count,
      net_interactive_timeout, slow_launch_time = 2L,
      net_read_timeout,net_write_timeout,slave_open_temp_tables=0,
      open_files_limit=0, max_binlog_size;
      open_files_limit=0, max_binlog_size, record_rnd_cache_size;
ulong slave_net_timeout;
ulong thread_cache_size=0, binlog_cache_size=0, max_binlog_cache_size=0;
volatile ulong cached_thread_count=0;
@@ -2531,7 +2532,7 @@ enum options {
	       OPT_REPORT_USER, OPT_REPORT_PASSWORD, OPT_REPORT_PORT,
               OPT_MAX_BINLOG_DUMP_EVENTS, OPT_SPORADIC_BINLOG_DUMP_FAIL,
               OPT_SHOW_SLAVE_AUTH_INFO, OPT_OLD_RPL_COMPAT,
               OPT_SQL_MODE,
               OPT_SQL_MODE,OPT_SAFE_USER_CREATE,
               OPT_SLAVE_LOAD_TMPDIR};

static struct option long_options[] = {
Loading