Commit caeb6e27 authored by unknown's avatar unknown
Browse files

Remove unused variable

parent bc609ffb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -524,7 +524,6 @@ THR_LOCK_DATA **ha_heap::store_lock(THD *thd,

int ha_heap::delete_table(const char *name)
{
  char buff[FN_REFLEN];
  int error= heap_delete_table(name);
  return error == ENOENT ? 0 : error;
}
+0 −2
Original line number Diff line number Diff line
@@ -445,8 +445,6 @@ static my_bool init_handlerton(THD *unused1, st_plugin_int *plugin,
int ha_init()
{
  int error= 0;
  handlerton **types;
  show_table_alias_st *table_alias;
  total_ha= savepoint_alloc_size= 0;

  if (ha_init_errors())
+0 −1
Original line number Diff line number Diff line
@@ -2028,7 +2028,6 @@ void Item_date_add_interval::fix_length_and_dec()

bool Item_date_add_interval::get_date(TIME *ltime, uint fuzzy_date)
{
  long period,sign;
  INTERVAL interval;

  if (args[0]->get_date(ltime, TIME_NO_ZERO_DATE) ||
+0 −1
Original line number Diff line number Diff line
@@ -468,7 +468,6 @@ int key_rec_cmp(void *key, byte *first_rec, byte *second_rec)
  do
  {
    Field *field= key_part->field;
    uint length;

    if (key_part->null_bit)
    {
+0 −2
Original line number Diff line number Diff line
@@ -717,8 +717,6 @@ bool LOGGER::slow_log_print(THD *thd, const char *query, uint query_length,
  bool error= FALSE;
  Log_event_handler **current_handler= slow_log_handler_list;
  bool is_command= FALSE;

  char message_buff[MAX_LOG_BUFFER_SIZE];
  char user_host_buff[MAX_USER_HOST_SIZE];

  my_time_t current_time;
Loading