Loading include/my_dbug.h +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ extern void _db_pargs_(uint _line_,const char *keyword); extern void _db_doprnt_ _VARARGS((const char *format,...)); extern void _db_dump_(uint _line_,const char *keyword,const char *memory, uint length); extern void _db_output_(uint); extern void _db_output_(uint flag); extern void _db_lock_file(void); extern void _db_unlock_file(void); Loading sql/mysqld.cc +0 −4 Original line number Diff line number Diff line Loading @@ -39,11 +39,7 @@ #else #define OPT_INNODB_DEFAULT 0 #endif #ifdef HAVE_BERKLEY_DB #define OPT_BDB_DEFAULT 1 #else #define OPT_BDB_DEFAULT 0 #endif #ifdef HAVE_NDBCLUSTER_DB #define OPT_NDBCLUSTER_DEFAULT 0 #if defined(NOT_ENOUGH_TESTED) \ Loading sql/sp.cc +4 −5 Original line number Diff line number Diff line Loading @@ -72,6 +72,9 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, DBUG_PRINT("enter", ("type: %d name: %*s", type, name->m_name.length, name->m_name.str)); *opened= FALSE; *tablep= 0; /* Speed up things if mysql.proc doesn't exists. mysql_proc_table_exists is set when we create or read stored procedure or on flush privileges. Loading @@ -88,9 +91,7 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, strcmp(table->s->table_name, "proc") == 0) break; } if (table) *opened= FALSE; else if (!table) { TABLE_LIST tables; Loading @@ -99,7 +100,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, tables.table_name= tables.alias= (char*)"proc"; if (! (table= open_ltable(thd, &tables, ltype))) { *tablep= NULL; /* Under explicit LOCK TABLES or in prelocked mode we should not say that mysql.proc table does not exist if we are unable to Loading Loading @@ -131,7 +131,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, key, table->key_info->key_length, HA_READ_KEY_EXACT)) { *tablep= NULL; DBUG_RETURN(SP_KEY_NOT_FOUND); } *tablep= table; Loading sql/sql_lex.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,7 @@ void st_select_lex::init_query() embedding= leaf_tables= 0; item_list.empty(); join= 0; where= prep_where= 0; having= where= prep_where= 0; olap= UNSPECIFIED_OLAP_TYPE; having_fix_field= 0; resolve_mode= NOMATTER_MODE; Loading Loading
include/my_dbug.h +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ extern void _db_pargs_(uint _line_,const char *keyword); extern void _db_doprnt_ _VARARGS((const char *format,...)); extern void _db_dump_(uint _line_,const char *keyword,const char *memory, uint length); extern void _db_output_(uint); extern void _db_output_(uint flag); extern void _db_lock_file(void); extern void _db_unlock_file(void); Loading
sql/mysqld.cc +0 −4 Original line number Diff line number Diff line Loading @@ -39,11 +39,7 @@ #else #define OPT_INNODB_DEFAULT 0 #endif #ifdef HAVE_BERKLEY_DB #define OPT_BDB_DEFAULT 1 #else #define OPT_BDB_DEFAULT 0 #endif #ifdef HAVE_NDBCLUSTER_DB #define OPT_NDBCLUSTER_DEFAULT 0 #if defined(NOT_ENOUGH_TESTED) \ Loading
sql/sp.cc +4 −5 Original line number Diff line number Diff line Loading @@ -72,6 +72,9 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, DBUG_PRINT("enter", ("type: %d name: %*s", type, name->m_name.length, name->m_name.str)); *opened= FALSE; *tablep= 0; /* Speed up things if mysql.proc doesn't exists. mysql_proc_table_exists is set when we create or read stored procedure or on flush privileges. Loading @@ -88,9 +91,7 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, strcmp(table->s->table_name, "proc") == 0) break; } if (table) *opened= FALSE; else if (!table) { TABLE_LIST tables; Loading @@ -99,7 +100,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, tables.table_name= tables.alias= (char*)"proc"; if (! (table= open_ltable(thd, &tables, ltype))) { *tablep= NULL; /* Under explicit LOCK TABLES or in prelocked mode we should not say that mysql.proc table does not exist if we are unable to Loading Loading @@ -131,7 +131,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, key, table->key_info->key_length, HA_READ_KEY_EXACT)) { *tablep= NULL; DBUG_RETURN(SP_KEY_NOT_FOUND); } *tablep= table; Loading
sql/sql_lex.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,7 @@ void st_select_lex::init_query() embedding= leaf_tables= 0; item_list.empty(); join= 0; where= prep_where= 0; having= where= prep_where= 0; olap= UNSPECIFIED_OLAP_TYPE; having_fix_field= 0; resolve_mode= NOMATTER_MODE; Loading