Re: C-API and multiple resultsets

2002-10-29 Thread Stefan Fleiter
Insanely Great wrote: Hi! If you want to traverse two result set in the same time then use the mysql_store_result(). If you don't have a big resultset coming then probably mysql_store_result() in the same connection is a better option. Otherwise you have to use two connections. Thanx, just wa

C-API and multiple resultsets

2002-10-28 Thread Stefan Fleiter
Hi! If I use mysql_use_reult() of the C-API, I must use two connections to traverse two different result sets at the same time. Is that right? Thanx, Stefan sql, query - Before posting, please check: http://www.mysql.com/m

Re: MYSQL C++ API

2002-09-27 Thread Stefan Fleiter
Paco wrote: > I'm having probles with the c++ api of mysql... could somebody help me > plesae? Could be, maybe you should post your specific problem. - Before posting, please check: http://www.mysql.com/manual.php (the m

numeric type, get count of decimals

2002-08-26 Thread Stefan Fleiter
I am writing a library which is using mysql. I need to know the count of the *maximum* decimals of a NUMERIC column before issuing a mysql_fetch_row(). I get the width of the field by: MYSQL_FIELD *fields = mysql_fetch_fields (MYResult); printf ("Width: %d\n", fields[i].length); Doing a "DESCRIB