forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › [Bug] Prompt If Multiple Rows Are Getting Updated
- This topic is empty.
-
AuthorPosts
-
-
November 29, 2012 at 11:58 pm #12871WilandTechMember
We had a critical system failure last week resulting in an all day outage. This was caused due to a global update that changed one step of all jobs to a completed status on our system. Normally we would get a warning box stating that we are about to update multiple rows, are we sure we wish to do this. There was no box at the time of the incident, and we have tested multiple times with the same response.
Here is the captured result on the database;
update `mxctl`.`jd_test` set `status_id` = '8' where `job_step_id` = '1'
It updated all jobs where job_step_id=1 to a status of 8.
Only one job_step_id was selected to be updated at the time. No prompt was given that multiple rows would be updated.
-
November 30, 2012 at 4:57 am #34015ashwinMember
Hi,
Could you please tell:
1) SQLyog version (Help->About)?
2) Check whether in Tools->Preferences->Others->'Prompt if multiple rows are getting updated in the Data display/editing' is checked or not. If checked then SQLyog will warn you and ask for confirmation when editing data results in multiple rows getting updated.
Please check the screen-shots.
Regards,
Ashwin
-
November 30, 2012 at 12:39 pm #34016WilandTechMember
I apologize. SQLYog Enterprise 10.3 and Yes the box is checked.
-
December 3, 2012 at 12:36 pm #34017peterlaursenParticipant
Please see attached image.
[attachment=1836:duplicates.jpg]
As you see I have created a table with two identical rows. When I change from 'a' to 'b' in one the warning pops up before anything is saved to the server..
To work with this we need a similar test case from you (a table dump and a description of what exactly you are changing). You are welcome to post it privately to [email protected].
-
December 4, 2012 at 8:49 pm #34018WilandTechMember
Thank you, Sent in to the email.
-
December 5, 2012 at 10:09 am #34019peterlaursenParticipant
.. and verified.
-
-
AuthorPosts
- You must be logged in to reply to this topic.