forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Could Not Copy Data To Clipboard
- This topic is empty.
-
AuthorPosts
-
-
December 28, 2006 at 5:21 pm #10110vygiMember
Hey here,
maybe it's “just” some OS-specific limitation but it looks'a'feels like an annoying bug:
when I copy result set to clipboard, here and there SQLyog tells me “Could not copy data to clipboard” and “8:Für diesen Befehl ist nicht genügend Speicher verfügbar” (translated from German: “there is not enough memory to perform this operation”).
Right now I am not able to put 6,226 selected IDs (integers) into the clipboard!
One minute before I was able to copy 8,116 IDs to clipboard, now it refuses t do it again.
It always happens when I repeatedly try to copy to clipboard something. Once it works with much bigger result sets (10,000+ strings), after them it fails with much smaller results (like now).
I think that only restart of SQLyog helpy. I tried to close/reopen connections and result sets – no way…
Hope it can be fixed!
Vygi
-
December 28, 2006 at 5:29 pm #23161vygiMember
P.S. when someone asks why I need it:
we still have some MySQL 3.x and 4.0 servers and they do not support subselects, so sometimes I need to select IDs by some special query, then copy them to clipboard (seperated by commas) and then make eg. DELETE FROM table WHERE id IN (
); -
December 29, 2006 at 5:46 am #23162peterlaursenParticipant
hmmm…
undoubtedly a OS issue.
I tried to research into Windows clipboard/memory management. Did not find much, but did find this discussion:
http://www.aqua-soft.org/board/showthread.php?t=34619
quote: “The clipboard size ~ free memory size (actually, the clipboard doesn't have a “size”).”
What is the memory situation of your system before/after copying to the clipboard?
This utility
http://www.softpedia.com/get/Office-tools/…/ClipSize.shtml
gives information about clipboard memory
and more utilities here …
http://www.softpedia.com/catList/152,1,1,1.html
Could you save to a file? Could be on some big and fast removable media …
Or does it make any difference to increase the virtual memory (Control Panel .. System .. advanced ….)
anything usable?
-
December 29, 2006 at 11:08 am #23163peterlaursenParticipant
BTW: I do not understand this:
Quote:we still have some MySQL 3.x and 4.0 servers and they do not support subselects,SUBQUERIES ( = “SELECT … WHERE some_column = (SELECT … );” ) were introduced in 4.1
but SUBSELECTS (= “SELECT … WHERE some_column IN (SELECT ….)” ) were always functional I think.
“IN” is just a simple and common SET operator in this context
… just like this in PPPL:
{
IF orange IN fruits THEN eat_it() ELSE go_nuts() /* 🙄 */
}
-
December 29, 2006 at 11:09 am #23164peterlaursenParticipant
PPPL = Peters Personal Programming Language 😆
-
December 29, 2006 at 5:41 pm #23165ronjeremy_69Participant
This has happened to me also on occasion, maybe once a month or two so its not too big of a deal. Rebooting the computer always fixes it.
-
December 31, 2006 at 7:30 pm #23166vygiMemberronjeremy_69 wrote on Dec 29 2006, 06:41 PM:This has happened to me also on occasion, maybe once a month or two so its not too big of a deal. Rebooting the computer always fixes it.
I have just to restart SQLyog and not the whole computer, so it is somehow SQLyog-related.
Next time I will try to copy/paste using some other program when it happens to see if only SQLyog is affected or everything.
-
January 3, 2007 at 4:28 pm #23167vygiMember
HAPPY NEW YEAR, by the way…
-
January 4, 2007 at 5:21 am #23168peterlaursenParticipant
happy new year to you too.
BTW: did you ever try/test the Excel export of SQLyog 5.22?
You were the one the 'pushed' for this mostly …
We may consider disabling support for German Excel-localisations if you did not … <_< I will 'revive' the clipboard discussion, and see if we can find something.
-
January 4, 2007 at 10:13 am #23169vygiMember
Thanks, Peter!
re data export to Excel: I've already posted before that we currently still have Office/Excel 2000 which doesn't support XML.
That's really a shame, sorry!
I had a chance to test it and it worked but we still can't start to use it productively.
We hope to get Office/Excel 2003 in few weeks, though.
Anyway, thank you all for this feature – it's really important to us!
-
January 4, 2007 at 10:23 am #23170peterlaursenParticipant
You did not get this point then?
http://www.microsoft.com/downloads/details…;displaylang=en
just install and Excel2000/2002 should read the file.
-
January 4, 2007 at 10:32 am #23171vygiMember
oh… thanks a lot! I was not aware of it!
This thing wasn't here back in October when I've tried to find something: “Date Published: 11/6/2006”
-
January 10, 2007 at 9:19 am #23172peterlaursenParticipant
status: we have now actually been able to 'copy to clipboard' successfully and then doing the same thing once more raises an issue with available memory.
I still am not sure that we can do anything about it. But let us research a little more!
-
January 10, 2007 at 11:59 am #23173peterlaursenParticipant
It is now fixed in the development tree.
We plan to release 5.23 beta1 by beginning/mid next week with the fix for this.
Actually we did delete the old clipboard content from memory, but doing this and allocating the buffer for the new content was done in the wrong order.
-
June 4, 2007 at 4:28 am #23174boydellMemberpeterlaursen wrote on Jan 10 2007, 11:59 AM:It is now fixed in the development tree.
We plan to release 5.23 beta1 by beginning/mid next week with the fix for this.
Actually we did delete the old clipboard content from memory, but doing this and allocating the buffer for the new content was done in the wrong order.
This is still a problem in community version 6. I can get to happen every time with many different queries, on many different computers. It is not a problem with the clipboard, because the same resultsets copy just fine from toad.
I can't seem to nail down the limit. The number of rows possible change with one query to the next, although it seems to hover around 10,000. And the total bytes copied seems to also vary from one query to the next. And sometimes the amount I can copy from a specific result set is consistent. and sometimes it varies.
Here is a script to create a table to test the problem.
drop table if exists clipboard;
create table clipboard (
field1 int(10) unsigned not null auto_increment,
field2 varchar(255) not null default '',
primary key (field1)
) engine=MyIsam default charset=utf8;
DELIMITER $$
DROP PROCEDURE IF EXISTS `test_clipboard`$$
CREATE PROCEDURE `test_clipboard`()
BEGIN
declare cnt int default 0;
while cnt < 20000 do insert into clipboard (field2) values ('Here is some text for the field'); set cnt = cnt + 1; end while; END$$ DELIMITER ; call test_clipboard(); select * from clipboard limit 12000;
-
September 20, 2007 at 5:03 pm #23175boydellMemberboydell wrote on Jun 4 2007, 04:28 AM:This is still a problem in community version 6. I can get to happen every time with many different queries, on many different computers. It is not a problem with the clipboard, because the same resultsets copy just fine from toad.
Bump. Still a problem with community v6.07 on every computer I have installed it on, in both win xp and linux through wine.
-
September 20, 2007 at 8:03 pm #23176peterlaursenParticipant
please explain the problem in detail in a reproducable way!
Also provide a screenshot of your export dialogue settings.
Can you procide an example dump that we can import and reproduce with?
-
December 19, 2012 at 4:16 pm #23177howiehungerMember
Copy/paste in Query not working.
I have recently upgraded to SQLyog Enterprise v10.5 and Windows 8 Pro x64. In this environment I cannot copy/paste within Query.
Appreciate any help.
-
December 20, 2012 at 11:51 am #23178Jan.SMember
We are unable to reproduce this at our end. However, in the past we had one user with the same issue and it was related to Webroot SecureAnywhere AV.
Could you create a support ticket by sending us an email to [email protected] so that we can investigate this issue further.
Regards,
Janani
-
-
AuthorPosts
- You must be logged in to reply to this topic.