[Phpmyadmin-devel] Browsing an empty table

Marc Delisle marc at infomarc.info
Wed May 1 19:10:53 CEST 2013

Marc Delisle a écrit :
> Isaac Bennetch a écrit :
>> On Wed, May 1, 2013 at 12:26 PM, Marc Delisle <marc at infomarc.info> wrote:
>>> Hi,
>>> I was training someone new to phpMyAdmin this morning and she was
>>> surprised by the interface's behavior.
>>> After Operations > Empty the table, the interface tries to browse the
>>> table, then goes to the Structure page. She did not expect this.
>>> Maybe, when browsing an empty table, we should avoid to go to Structure?
>> Sorry, I think I'm a bit confused. If I go in to a table's Operations tab
>> and click the Empty button, I get a popup warning if I want to truncate the
>> table. After pressing OK, I'm left on the Operations tab with a popup
>> notification giving the results. At no point am I redirected to any other
>> page. The behavior I'm seeing is what I would expect -- is yours behaving
>> differently or am I misunderstanding the steps to reproduce?
> I saw this behavior this morning on 4.0.0-rc2, but I cannot reproduce it 
> right now. I'll try to recreate the needed steps.
> I remember seeing the table Structure tab being active and the structure 
> displayed; also the "SELECT * from tablename" was shown, with a message 
> "empty result set".

Forgetting the Operations aspect of it, you can see what I mean by 
clicking on Browse for an empty table.

Marc Delisle

More information about the Developers mailing list