<br><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 4:57 PM, Rouslan Placella <span dir="ltr"><<a href="mailto:rouslan@placella.com" target="_blank">rouslan@placella.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 19/06/12 12:22, Atul Pratap Singh wrote:<br>
> On Tue, Jun 19, 2012 at 4:40 PM, Marc Delisle<<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>> wrote:<br>
><br>
>> Le 2012-06-19 06:50, Rouslan Placella a écrit :<br>
>>> On 19/06/12 11:47, Marc Delisle wrote:<br>
>>>> Le 2012-06-19 05:59, Atul Pratap Singh a écrit :<br>
>>>>> Hi Marc,<br>
>>>>> While taking a look at the Db-search functionality I noticed a bug.<br>
>>>>> Steps:<br>
>>>>> 1. Open db-search tab for a database.<br>
>>>>> 2. Make a search by entering a keyword and selecting all tables.<br>
>>>>> 3. From the 'browse' and 'delete' links in search results, select<br>
>> 'delete'<br>
>>>>> for any table.<br>
>>>>> 4. Notice that a DELETE query is sent to sql.php. But no actual<br>
>> deletion<br>
>>>>> happens.<br>
>>>>><br>
>>>>> Regards<br>
>>>><br>
>>>> Hi Atul,<br>
>>>> with current upstream master or your current repository, I cannot<br>
>>>> reproduce this bug.<br>
>>>><br>
>>>> Please show us a short, sample export to reproduce the bug.<br>
>>>><br>
>>><br>
>>> Try searching for "pen" in sakila.actor<br>
>><br>
>> Indeed, on the results page, trying to delete the one match in table<br>
>> "address" gives this on the first GET to sql.php, as seen with Firebug:<br>
>><br>
>> #1451 - Cannot delete or update a parent row: a foreign key constraint<br>
>> fails (`sakila`.`customer`, CONSTRAINT `fk_customer_address` FOREIGN KEY<br>
>> (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE)<br>
>><br>
>> Marc,<br>
> Deletion doesn't happen in a table with no foreign constraints also, like<br>
> sakila.'country'.<br>
<br>
</div></div>sakila.country is linked to sakila.city. Clearly you can't have cities<br>
that don't belong to a country.<br>
<br>
Try searching for "11" in sakila.film_actor, there will be about 300<br>
results, all of them can be deleted successfully.<br></blockquote><div>Thanks, I saw the error. So, the actual problem is the error message not being displayed.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Also I didn't see any error message after the GET request.<br>
<br>
</div>Look at the server response in your firebug console. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im HOEnZb"><br>
>> sql.php is not even called in an Ajax way.<br>
<br>
</div><div class="HOEnZb"><div class="h5">------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Atul Pratap Singh<div>Senior Undergraduate Student</div><div>Institute Of Technology,<br>Banaras Hindu University, Varanasi,<br>India.</div><br>