mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
- Housekeeping: removed a few unreferenced variables, noticed while doing
Windows builds
This commit is contained in:
@ -2305,7 +2305,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
|
|||||||
List<Item> *sum_func_list,
|
List<Item> *sum_func_list,
|
||||||
uint wild_num)
|
uint wild_num)
|
||||||
{
|
{
|
||||||
bool is_stmt_prepare;
|
|
||||||
DBUG_ENTER("setup_wild");
|
DBUG_ENTER("setup_wild");
|
||||||
if (!wild_num)
|
if (!wild_num)
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
@ -147,7 +147,7 @@ uint find_type(TYPELIB *lib, const char *find, uint length, bool part_match)
|
|||||||
|
|
||||||
uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs)
|
uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs)
|
||||||
{
|
{
|
||||||
int find,pos,findpos;
|
int find,pos;
|
||||||
const char *j;
|
const char *j;
|
||||||
DBUG_ENTER("find_type2");
|
DBUG_ENTER("find_type2");
|
||||||
DBUG_PRINT("enter",("x: '%s' lib: 0x%lx",x,typelib));
|
DBUG_PRINT("enter",("x: '%s' lib: 0x%lx",x,typelib));
|
||||||
@ -157,7 +157,7 @@ uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs)
|
|||||||
DBUG_PRINT("exit",("no count"));
|
DBUG_PRINT("exit",("no count"));
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
}
|
}
|
||||||
LINT_INIT(findpos);
|
|
||||||
for (find=0, pos=0 ; (j=typelib->type_names[pos]) ; pos++)
|
for (find=0, pos=0 ; (j=typelib->type_names[pos]) ; pos++)
|
||||||
{
|
{
|
||||||
if (!my_strnncoll(cs, (const uchar*) x, length,
|
if (!my_strnncoll(cs, (const uchar*) x, length,
|
||||||
|
Reference in New Issue
Block a user