<div dir="ltr"><div>Hi Marc,</div><div>I identified seven situations where the method PMA_sendResponseForNoResultsReturned runs.</div><div> 1-> When browsing an empty table</div><div> 2-> When executing a query on a non empty table which returns zero results</div>
<div> 3-> When executing a query on an empty table</div><div> 4-> When executing an INSERT, UPDATE, DELETE query from the SQL tab</div><div> 5-> When deleting a row from BROWSE tab</div><div> 6-> When searching using the SEARCH tab which returns zero results</div>
<div> 7-> When changing the structure of the table except change operation</div><div> </div><div>In the first case the $goto variable is not initialized. But in the second, third and fourth cases it is initialized to tbl_sql.php.</div>
<div>In the third, fourth and fifth cases the $goto variable is initialized with sql.php itself with certain other url parameters.</div><div>In the 7 th case $goto variable is set to $tbl_structure.php</div><div><br></div>
<div>But I identified all these cases send Ajax responses where $goto variable or sending header location were never used. I would like to know whether my test scenarios are comprehensive if so shall I remove the redundant code segments.</div>
</div>