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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
I am unable to reproduce the bug. Are you able to reproduce on the demo server (http://demo.phpmyadmin.net/STABLE/) ?
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.
Yes, I can reproduce your scenario.
Fixed with https://github.com/phpmyadmin/phpmyadmin/commit/491059843f6c64965efe637e80711a38fa59f00d