Commit b89a17dd authored by unknown's avatar unknown

minor cleanups


heap/hp_info.c:
  flag in not really unused here :)
sql/item_timefunc.cc:
  unnecessary "typedef" keyword removed (VC++ warning)
parent 49baac8d
......@@ -44,8 +44,7 @@ ulong heap_position_old(HP_INFO *info)
/* Note that heap_info does NOT return information about the
current position anymore; Use heap_position instead */
int heap_info(reg1 HP_INFO *info,reg2 HEAPINFO *x,
int flag __attribute__((unused)))
int heap_info(reg1 HP_INFO *info,reg2 HEAPINFO *x, int flag )
{
DBUG_ENTER("heap_info");
x->records = info->s->records;
......
......@@ -63,7 +63,7 @@ enum date_time_format_types
DATE_ONLY, DATE_TIME, DATE_TIME_MICROSECOND
};
typedef struct date_time_format
struct date_time_format
{
const char* format_str;
uint length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment