Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4286 (ok 4.1.8) Open "Browse" in a new tab

4.1.7
fixed
Marc Delisle
sql.php (1)
1
2014-02-22
2014-02-14
Edward Cheng
No

When browse a empty table by open a new tab, page content is empty, without any message(such as "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0003 sec)")

For example:
sql.php?db=performance_schema&table=events_waits_history&server=1&target=&token=9e11c7f660c8c1a2f31fa82ef82751d4#PMAURL-0:sql.php?db=performance_schema&table=events_waits_history&server=1&target=

1 Attachments

Discussion

  • This is due to the function "PMA_sendQueryResponseForNoResultsReturned()" in "sql.lib.php" sends the response only if the request is AJAX. I changed it and sent a pull request.

    https://github.com/phpmyadmin/phpmyadmin/pull/934

     
  • Marc Delisle
    Marc Delisle
    2014-02-16

    • summary: Open "Browse" in a new tab --> (ok 4.1.8) Open "Browse" in a new tab
    • status: open --> resolved
    • assigned_to: Marc Delisle
    • Priority: 5 --> 1
     
  • Marc Delisle
    Marc Delisle
    2014-02-22

    • Status: resolved --> fixed