Re: mysql C API hang

"Karl" <[email protected]> Sun, 3 Apr 2005 21:57:41 +0300
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <0ead01c5387f$040055a0$020b000a@Carl4>
Hello,

> > sry about my bad english.
> >
> > in code is something this:
> > sprintf(query,"update database.table set  something='something else'
where
> > username='someone'");
> > mysql_query(&mysql,query);
> >
> Could it be a memory problem?
how can i test it?

> WHat do you do with the connection after each update?
mysql is always connected

> Where is 'query' stored? At the stack or the heap?
char query [2048];
shoult be long enough.


Karl


-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]