forums › forums › SQLyog › SQLyog BETA Discussions › Sqlyog 5.12 B7 & B8 Hangs
- This topic is empty.
-
AuthorPosts
-
-
May 11, 2006 at 8:39 am #9679
shoyu
MemberHello,
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.
-
May 11, 2006 at 9:04 am #21590
peterlaursen
Participantthis 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.
-
May 11, 2006 at 9:16 am #21591
Ritesh
MemberIs yyy a SP? Another person reported the same thing yesterday. Something goes wrong with SP it seems.
-
May 11, 2006 at 9:54 am #21592
peterlaursen
ParticipantI 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?
-
May 11, 2006 at 10:54 am #21593
peterlaursen
ParticipantI 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)
-
May 11, 2006 at 10:55 am #21594
shoyu
MemberHello,
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.
-
May 11, 2006 at 11:03 am #21595
peterlaursen
ParticipantI fear it may repeat itself next you build a SP.
Could you try that?
-
May 11, 2006 at 11:18 am #21596
Ritesh
MemberWas this BETA 8 installed over an existing SQLyog installation?
-
May 11, 2006 at 11:41 am #21597
peterlaursen
ParticipantThe 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.
-
May 11, 2006 at 2:37 pm #21598
shoyu
MemberRitesh 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
-
May 12, 2006 at 5:26 am #21599
Ritesh
Memberpeterlaursen 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.
-
May 12, 2006 at 10:50 am #21600
peterlaursen
ParticipantI 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.
-
May 12, 2006 at 10:58 am #21601
Ritesh
MemberWorking on it.
-
May 13, 2006 at 3:56 am #21602
-
May 13, 2006 at 3:58 am #21603
peterlaursen
Participantdo you mean to say that beta9 fixes the issue that I reported?
-
May 13, 2006 at 4:20 am #21604
peterlaursen
ParticipantNope! it does not. No change!
-
-
AuthorPosts
- You must be logged in to reply to this topic.