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

Sqlyog 5.12 B7 & B8 Hangs

forums forums SQLyog SQLyog BETA Discussions Sqlyog 5.12 B7 & B8 Hangs

  • This topic is empty.
Viewing 15 reply threads
  • Author
    Posts
    • #9679
      shoyu
      Member

      Hello,

      If I write:

      Code:
      select xxx, yyy(

      in the command window, le program hangs as soon as I press

      Code:
      (

      .

      Cheers.

      Shoyu

      SQLyog v5.12 b7 and b8.

    • #21590
      peterlaursen
      Participant

      this is an autocomplete issue. I think it does not if you disable auto-complete? Have you had earlier 5.x versions installed?

      I suggest you try this:

      Delete (or rename) those items:

      1) The TAGS folder in installation Folder

      2) The keywords.db file in installation folder

      Next install Beta8 again. A new keywords.db will be copied by the installer and the new TAG files will be built next you open a connection.

    • #21591
      Ritesh
      Member

      Is yyy a SP? Another person reported the same thing yesterday. Something goes wrong with SP it seems.

    • #21592
      peterlaursen
      Participant

      I tried creating a SP named 'yyy' and still cannot reproduce.

      If you have a SP 'yyy' what parameters does it take?

      What is MySQL version? Are you sure that you followed all update instructions when/if updating form a previous version?

    • #21593
      peterlaursen
      Participant

      I think I found a related issue!

      This:

      DELIMITER $$;

      DROP PROCEDURE IF EXISTS `test`.`yyyyyyyyyy`$$

      CREATE DEFINER=`root`@`localhost` PROCEDURE `yyyyyyyyyy`(a char)

      BEGIN

      set @test = a;

      END$$

      DELIMITER ;$$

      creates the procedure. However it does not work with autocomplete UNLESS I MANUALLY REBUILD TAGS.


      @shoyu
      : could I ask you to try 'rebuild tags' from 'powertools menu?

      .. however it does not hang here (with that SP definition)

    • #21594
      shoyu
      Member

      Hello,

      I removed the Tagg folder, the keywords.db and then, I reistalled b8.

      Now it works perfectly.

      Thank you.

      Cheers.

      Shoyu.

      P.S.: xxx was whatever you want.

    • #21595
      peterlaursen
      Participant

      I fear it may repeat itself next you build a SP.

      Could you try that?

    • #21596
      Ritesh
      Member

      Was this BETA 8 installed over an existing SQLyog installation?

    • #21597
      peterlaursen
      Participant

      @Ritesh

      The issue that I reported does also occur with a fresh installation.

      The 'rebuild tags' from program start-up does not find procedure 'yyyyyyyyyy' – the 'rebuild tags' from 'powertools' menu does.

    • #21598
      shoyu
      Member
      Ritesh wrote on May 11 2006, 01:18 PM:
      Was this BETA 8 installed over an existing SQLyog installation?

      Hello,

      The beta 8 was installed over a 5.1 one.

      Cheers.

      Shoyu

    • #21599
      Ritesh
      Member
      peterlaursen wrote on May 11 2006, 10:54 AM:
      I think I found a related issue!

      This:

      DELIMITER $$;

      DROP PROCEDURE IF EXISTS `test`.`yyyyyyyyyy`$$

      CREATE DEFINER=`root`@`localhost` PROCEDURE `yyyyyyyyyy`(a char)

      BEGIN

      set @test = a;

      END$$

      DELIMITER ;$$

      creates the procedure. However it does not work with autocomplete UNLESS I MANUALLY REBUILD TAGS.


      @shoyu
      : could I ask you to try 'rebuild tags' from 'powertools menu?

      .. however it does not hang here (with that SP definition)

      Reproduced.

      This happens because for all queries executed from the Query Editor, SQLyog looks for CREATE/ALTER/DROP TABLE, CREATE/ALTER/DROP VIEW etc. to rebuild its Autocomplete cache internally. In the above case the statement starts as CREATE DEFINER and not CREATE PROCEDURE, thus it fails to rebuild the cache. Doing Powertools -> Rebuild Tags… forces SQLyog to rebuild all tags and thus it works.

      BTW, which version of MySQL are you using?

      CREATE DEFINER=`root`@`localhost` PROCEDURE `my`.`yyyyyyyyyy` ()

      does not work with 5.1.6-alpha-nt-max but

      CREATE PROCEDURE `my`.`yyyyyyyyyy` ()

      does.

    • #21600
      peterlaursen
      Participant

      I think this was copied from 5.0.21.

      BTW you should get rid of 5,1,6. Pretty old version 5.1.9 is out!

      The 'DEFINER' thing was added recently as a security enhancement.

    • #21601
      Ritesh
      Member

      Working on it.

    • #21602
      Ritesh
      Member
    • #21603
      peterlaursen
      Participant

      @Ritesh

      do you mean to say that beta9 fixes the issue that I reported?

    • #21604
      peterlaursen
      Participant

      Nope! it does not. No change!

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