sql/sql_plugin.cc
remove endspaces and tabs
This commit is contained in:
parent
3ecbb5a443
commit
d2384064f2
@ -1694,7 +1694,7 @@ bool plugin_foreach_with_mask(THD *thd, plugin_foreach_func *func,
|
|||||||
: plugin_hash[type].records;
|
: plugin_hash[type].records;
|
||||||
/*
|
/*
|
||||||
Do the alloca out here in case we do have a working alloca:
|
Do the alloca out here in case we do have a working alloca:
|
||||||
leaving the nested stack frame invalidates alloca allocation.
|
leaving the nested stack frame invalidates alloca allocation.
|
||||||
*/
|
*/
|
||||||
plugins=(struct st_plugin_int **)my_alloca(total*sizeof(plugin));
|
plugins=(struct st_plugin_int **)my_alloca(total*sizeof(plugin));
|
||||||
if (type == MYSQL_ANY_PLUGIN)
|
if (type == MYSQL_ANY_PLUGIN)
|
||||||
@ -2080,7 +2080,7 @@ static st_bookmark *find_bookmark(const char *plugin, const char *name,
|
|||||||
strxmov(varname + 1, plugin, "_", name, NullS);
|
strxmov(varname + 1, plugin, "_", name, NullS);
|
||||||
for (p= varname + 1; *p; p++)
|
for (p= varname + 1; *p; p++)
|
||||||
if (*p == '-')
|
if (*p == '-')
|
||||||
*p= '_';
|
*p= '_';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
memcpy(varname + 1, name, namelen + 1);
|
memcpy(varname + 1, name, namelen + 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user