On Tue, Jun 19, 2012 at 3:34 PM, Rouslan Placella rouslan@placella.comwrote:
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:
- Open db-search tab for a database.
- Make a search by entering a keyword and selecting all tables.
- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel