> That syntax seems correct. Make sure you have defined Row as:
> MYSQL_ROW Row;
Yes this is a structure, not a pointer.
> and that result is defined as
> MYSQL_RES *result;
Yes it is a pointer.
>
> printf("\n\t%u %4s",j,Row); <---YOUR problem seems to be here! change
> Row to Row[0]
<___/
- Original Message -
From: "Gonzalo Aguilar" <[EMAIL PROTECTED]>
To: "lista MySQL" <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 6:39 PM
Subject: mysql_fetch_row blocks my computer...
> First of all, before I forget it...
> My MySQL is
First of all, before I forget it...
My MySQL is:
mysql Ver 9.38 Distrib 3.22.32, for pc-linux-gnu (i686)
I have a problem with mysql_fetch_row...
When I use it the system goes to 100% CPU usage and nothing else, I get
not
rows...
The code is:
.
.
.