Menu

#4187 (ok 4.1.2) SQL query inline edit doesn't post changes on the first run

4.1.1
fixed
None
1
2013-12-23
2013-12-17
Saygin
No

After you run an SQL query, if you edit that query from the 'inline' link and click 'Go', the initial query is post again instead of the new query. When you repeat the same procedure, this time the new query is post correctly.

Discussion

  • Justin Beasley

    Justin Beasley - 2013-12-20

    We're seeing the same thing on 4.1.1, although I'm not sure if it always happens or if there are cases in which it actually works correctly. Losing queries is a pain though.

     
  • Madhura Jayaratne

    I am unable to reproduce the bug. Are you able to reproduce on the demo server (http://demo.phpmyadmin.net/STABLE/) ?

     
  • Madhura Jayaratne

    • status: open --> pending
     
  • Saygin

    Saygin - 2013-12-21

    Yes I can.

    Go to any SQL query window. Type "SELECT 1" and click "Go". You can see the result containing the value 1. Now click "Inline" and change the query to "SELECT 2" and click "Go" again. You will see that the submitted query is "SELECT 1" and the result shown is 1.

    If you click "Inline" again and change the query to "SELECT 3", now the new query is submitted and the result is 3. So, the bug only happens once for the first inline edit.

     
  • Madhura Jayaratne

    Yes, I can reproduce your scenario.

     
  • Madhura Jayaratne

    • status: pending --> open
    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: SQL query inline edit doesn't post changes on the first run --> (ok 4.1.2) SQL query inline edit doesn't post changes on the first run
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2013-12-23
    • Status: resolved --> fixed