fix for SunPro CC
This commit is contained in:
parent
758567104c
commit
1b0f38b0f2
@ -135,7 +135,7 @@ int tables_ok(THD* thd, TABLE_LIST* tables)
|
|||||||
|
|
||||||
int add_table_rule(HASH* h, const char* table_spec)
|
int add_table_rule(HASH* h, const char* table_spec)
|
||||||
{
|
{
|
||||||
char* dot = strchr(table_spec, '.');
|
const char* dot = strchr(table_spec, '.');
|
||||||
if(!dot) return 1;
|
if(!dot) return 1;
|
||||||
uint len = (uint)strlen(table_spec);
|
uint len = (uint)strlen(table_spec);
|
||||||
if(!len) return 1;
|
if(!len) return 1;
|
||||||
@ -152,7 +152,7 @@ int add_table_rule(HASH* h, const char* table_spec)
|
|||||||
|
|
||||||
int add_wild_table_rule(DYNAMIC_ARRAY* a, const char* table_spec)
|
int add_wild_table_rule(DYNAMIC_ARRAY* a, const char* table_spec)
|
||||||
{
|
{
|
||||||
char* dot = strchr(table_spec, '.');
|
const char* dot = strchr(table_spec, '.');
|
||||||
if(!dot) return 1;
|
if(!dot) return 1;
|
||||||
uint len = (uint)strlen(table_spec);
|
uint len = (uint)strlen(table_spec);
|
||||||
if(!len) return 1;
|
if(!len) return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user