Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Sqlyog 10.2 Bug Regarding Editing And Saving Triggers

forums forums SQLyog SQLyog: Bugs / Feature Requests Sqlyog 10.2 Bug Regarding Editing And Saving Triggers

Tagged: , ,

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #12748
      kmak
      Member

      We might have located a bug in SQLyog 10.2 (perhaps it exists on previous versions also)

      We are using mysql 5.1.63

      Since we upgraded in mysql 5.1 we have noticed a problem while editing triggers with sqlyog.

      The single quotes are not escaped properly.

      Lets suppose we have a code like this in the trigger:

      SET vals = CONCAT(vals,','',CAST(NEW.issueDate AS CHAR),''');

      When i edit the trigger in SQLyog i see:

      SET vals = CONCAT(vals,','',CAST(NEW.issueDate AS CHAR),''');

      which is not valid, the backslashes have been removed.

      If i do a mysqldump from command line the trigger code is ok.

      If i do a backup database as sql dump ( Ctrl+Alt+E) from inside the sqlyog then the code is again without the backslashes, it has syntax error problem.

      Only in SQLyog it appears with the backslashes escaped. So if i want to save it again i must add the backslashes again …..

      Thank you in advance.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.