Re: Question on stability of results returned by C api mysql_fetch_row()

Lew Pitcher <[email protected]> Thu, 11 Feb 2021 19:24:28 -0000 (UTC)
Newsgroups comp.databases.mysql
Organization The Pitcher Digital Freehold
Message-ID <[email protected]>
On Thu, 11 Feb 2021 18:34:36 +0000, The Natural Philosopher wrote:

>>      row1 = mysql_fetch_row(results);
>>    
>>      /*
>>      ** Do either of these calls to mysql_fetch_row() somehow ** alter
>>      the results accessable from the row returned by ** the prior
>>      call(s) to mysql_fetch_row()?
>>      */
>>      row2 = mysql_fetch_row(results);
>>      row3 = mysql_fetch_row(results);
>>    
> No, but beware of reusing 'results' again to make another database
> access *in between*.
>
> I've done that :-(

As have I. :-(

But not this time.  :-)

Thanks, TNP, for the reminder
-- 
Lew Pitcher
"In Skills, We Trust"