Re: mysql_fetch_lengths()

2004-12-23 Thread Teresa A Narvaez
: mysql_fetch_lengths() 12/23/2004 02:14

Re: mysql_fetch_lengths()

2004-12-23 Thread Dan Nelson
t; > > > > > In the code fragment below, there is a memory leak at line 8 > > > because mysql_fetch_lenghts returns an array of unsigned long > > > integers representing the size of each column. So, has the retun > > > value of mysql_fetch_lengths() been the

Re: mysql_fetch_lengths()

2004-12-23 Thread Teresa A Narvaez
Subject: Re: mysql_fetch_lengths

Re: mysql_fetch_lengths()

2004-12-23 Thread Dan Nelson
rns an array of unsigned long integers > representing the size of each column. So, has the retun value of > mysql_fetch_lengths() been the same for mysql 3.22.30 and 3.23.58? > > 1. unsigned long *lengths; > 2. unsigned int num_fields; > 3. unsigned int i; > 4. MYSQL_RES *res

mysql_fetch_lengths()

2004-12-23 Thread Teresa A Narvaez
. So, has the retun value of mysql_fetch_lengths() been the same for mysql 3.22.30 and 3.23.58? Thank you , -Teresa -- 1. unsigned long *lengths; 2. unsigned int num_fields; 3. unsigned int i; 4. MYSQL_RES *result=NULL; 5. row = mysql_fetch_row(result); 6. if (row) 7. { 8. len