MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MyODBC bug in lib/net.c

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL ODBC
View previous topic :: View next topic  
Author Message
James Craig Ziegler
Guest





PostPosted: Thu Jun 24, 1999 5:58 pm    Post subject: MyODBC bug in lib/net.c Reply with quote



MyODBC crashed in lib.net.c at line 461
was:
if (((int) length=raw_net_read(...) <=0 )

when MicroS... returned a length of 4064586

I changed it to
now:
if (( length=raw_net_read(...) <=0L )

which seemed to fix the problem.

-----------------------------------
[email]jczjcz (AT) ibm (DOT) net[/email] (James Craig Ziegler)

Back to top
Michael Widenius
Guest





PostPosted: Tue Jun 29, 1999 2:28 am    Post subject: MyODBC bug in lib/net.c Reply with quote



Quote:
"James" == James Craig Ziegler <jczjcz (AT) ibm (DOT) net> writes:

James> MyODBC crashed in lib.net.c at line 461
James> was:
James> if (((int) length=raw_net_read(...) <=0 )

James> when MicroS... returned a length of 4064586

James> I changed it to
James> now:
James> if (( length=raw_net_read(...) <=0L )

James> which seemed to fix the problem.

Fixed. Thanks!

Regards,
Monty

Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL ODBC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.