• unknown's avatar
    Bug #9175 seg fault on 'mysqldump --single-transaction --tab mysql nonexistent' · 633207b5
    unknown authored
    My code in get_actual_tablename was not checking to make sure SHOW TABLES LIKE % was returning rows.  Now I check that the resultset is not null and has at least 1 row before I process the table.
    
    mysqldump.c:
      Add code to get_actual_tablename() to guard against SHOW TABLES LIKE not returning any rows
    
    
    client/mysqldump.c:
      Add code to get_actual_tablename() to guard against SHOW TABLES LIKE not returning any rows
    633207b5
mysqldump.c 76.5 KB