Fixes to coverity bugs:
72670: query_classifier/query_classifier.cc 72682: server/modules/filter/qlafilter.c 72679: server/modules/filter/tee.c 72716: server/modules/protocol/maxscaled.c 72694: server/modules/protocol/telnetd.c 71743: server/modules/routing/readwritesplit/readwritesplit.c
This commit is contained in:
@ -1049,15 +1049,16 @@ char** skygw_get_table_names(GWBUF* querybuf,int* tblsize, bool fullnames)
|
||||
TABLE_LIST* tbl;
|
||||
int i = 0,
|
||||
currtblsz = 0;
|
||||
char **tables,
|
||||
**tmp;
|
||||
char **tables = NULL,
|
||||
**tmp = NULL;
|
||||
|
||||
if((lex = get_lex(querybuf)) == NULL)
|
||||
{
|
||||
if( (lex = get_lex(querybuf)) == NULL ||
|
||||
lex->current_select == NULL )
|
||||
{
|
||||
goto retblock;
|
||||
}
|
||||
|
||||
lex->current_select = lex->all_selects_list;
|
||||
lex->current_select = lex->all_selects_list;
|
||||
|
||||
while(lex->current_select){
|
||||
|
||||
|
Reference in New Issue
Block a user