[Phpmyadmin-devel] Refactoring db_search.php
Atul Pratap Singh
atulpratapsingh05 at gmail.com
Tue Jun 19 12:55:29 CEST 2012
On Tue, Jun 19, 2012 at 3:34 PM, Rouslan Placella <rouslan at placella.com>wrote:
> On 19/06/12 10:59, Atul Pratap Singh wrote:
> > Hi Marc,
> > While taking a look at the Db-search functionality I noticed a bug.
> > Steps:
> > 1. Open db-search tab for a database.
> > 2. Make a search by entering a keyword and selecting all tables.
> > 3. From the 'browse' and 'delete' links in search results, select
> 'delete'
> > for any table.
> > 4. Notice that a DELETE query is sent to sql.php. But no actual deletion
> > happens.
> >
> > Regards
>
> As far as I know this is due to the badly coded deleteResult() function
> in db_search.js file. If the rows can be deleted, they will be deleted.
>
I have checked after deleting, but the rows again show up when searching
again.
> But in the case where there is an error, for example due to referential
> constrains, no error message is displayed.
>
> Bye,
> Rouslan
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
--
Atul Pratap Singh
Senior Undergraduate Student
Institute Of Technology,
Banaras Hindu University, Varanasi,
India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120619/38e32c02/attachment.html>
More information about the Developers
mailing list