[Phpmyadmin-devel] Bug #4301: need suggestion
Marc Delisle
marc at infomarc.info
Wed Mar 5 18:31:06 CET 2014
Krtin Kumar a écrit :
> Hi Marc,
>
> By showing both the select and update query you mean you want to show the
> latest update query right? But isn't it better that you show the update
> query to the user and then change it to select query after a delay, because
> after all the query box in the browse mode should contain the select query.
> what is the point of having an update query? Even if it is required I think
> having a log of query (as suggested by michal) along with something done in
> the link below will be better.
>
> I am talking something like this
>
> https://github.com/phpmyadmin/phpmyadmin/pull/1006
>
> Regards,
> Krtin
Hi Krtin,
(please use bottom-posting on this list)
I can find a use case for being able to modify both the update query and
the select query, but someone will review your pull request.
Indeed, the future log of queries should be better: probably that this
log would permit to open a query box on any query seen there.
>
>
> On Tue, Mar 4, 2014 at 10:55 PM, Marc Delisle <marc at infomarc.info> wrote:
>
>> Smita a écrit :
>>> So for now, Should I skip the update query and just show the initial
>> select
>>> statement instead?
>> My preference would be to show both: the update query and the select query.
>>> Regards
>>> Smita Kumari
>>>
>>>
>>> On Tue, Mar 4, 2014 at 6:57 PM, Marc Delisle <marc at infomarc.info> wrote:
>>>
>>>> Atul Pratap Singh a écrit :
>>>>> On 3/3/14, Smita <kumarismita62 at gmail.com> wrote:
>>>>>> On Mon, Mar 3, 2014 at 10:08 PM, Atul Pratap Singh <
>>>>>> atulpratapsingh05 at gmail.com> wrote:
>>>>>>
>>>>>>> On 3/3/14, Smita <kumarismita62 at gmail.com> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I was looking at the bug
>>>> http://sourceforge.net/p/phpmyadmin/bugs/4301/.
>>>>>>>> I
>>>>>>>> think, If the query execution is not redirecting page, ie it's
>>>>>>>> happening
>>>>>>> on
>>>>>>>> the same page via an ajax request then there are two ways we can
>>>>>>>> approach
>>>>>>>> it.
>>>>>>>> 1. Append an another Query box below previous Query box for all the
>>>>>>>> following requests. So in this case, we'll have separate query boxes
>>>>>>>> for
>>>>>>>> each operation performed on the page.
>>>>>>> Smita,
>>>>>>> Similar behavior occurs when:-
>>>>>>> In Browse mode, click on "Edit" in a table row => On edit page change
>>>>>>> something and click Go => see two SQL query boxes with UPDATE query
>>>>>>> box on top not below.
>>>>>>>
>>>>>> Yeah, skipping UPDATE query sounds good to me and In the success
>> popup I
>>>>>> think it's fine to just show the updation success message?
>>>>>>
>>>>> Yes, for the purpose of this bug, its fine for me to skip showing the
>>>> query.
>>>>> But indeed we need to have a full SQL log/history as well.
>>>>>
>>>>> Marc,
>>>>> Can we modify [0] to include implementing a full SQL log/history
>>>>> feature as suggested by Michal ?
>>>>>
>>>>> [0] https://sourceforge.net/p/phpmyadmin/feature-requests/1492/
>>>>>
>>>>>
>>>>> Regards
>>>> Atul,
>>>> yes, I'll modify it as well as the GSoC ideas list.
>>>>
>>>> --
>>>> Marc Delisle
>>>> http://infomarc.info | http://phpmyadmin.net
>>
>>
>> --
>> Marc Delisle
>> http://infomarc.info | http://phpmyadmin.net
>>
>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries. Built-in WAN optimization and
>> the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>
--
Marc Delisle
http://infomarc.info | http://phpmyadmin.net
More information about the Developers
mailing list