mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Remove buildbot compilation warnings/errors on centos5-amd64-minimal
This commit is contained in:
@ -2878,7 +2878,9 @@ make_join_statistics(JOIN *join, TABLE_LIST *tables_arg, COND *conds,
|
|||||||
if (s->type == JT_SYSTEM || s->type == JT_CONST)
|
if (s->type == JT_SYSTEM || s->type == JT_CONST)
|
||||||
{
|
{
|
||||||
/* Only one matching row */
|
/* Only one matching row */
|
||||||
s->found_records=s->records=s->read_time=1; s->worst_seeks=1.0;
|
s->found_records= s->records= 1;
|
||||||
|
s->read_time=1.0;
|
||||||
|
s->worst_seeks=1.0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* Approximate found rows and time to read them */
|
/* Approximate found rows and time to read them */
|
||||||
@ -11958,10 +11960,10 @@ bool create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
|
|||||||
|
|
||||||
/* Create internal MyISAM temporary table */
|
/* Create internal MyISAM temporary table */
|
||||||
|
|
||||||
static bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
|
bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
|
||||||
ENGINE_COLUMNDEF *start_recinfo,
|
ENGINE_COLUMNDEF *start_recinfo,
|
||||||
ENGINE_COLUMNDEF **recinfo,
|
ENGINE_COLUMNDEF **recinfo,
|
||||||
ulonglong options)
|
ulonglong options)
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
MI_KEYDEF keydef;
|
MI_KEYDEF keydef;
|
||||||
|
Reference in New Issue
Block a user