List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:March 13 2003 7:38pm
Subject:Re: mysql_num_rows() on Solaris
View as plain text  
At 11:03 -0800 3/13/03, Hebron Mak wrote:
>I am attempting to use mysql_num_rows() after mysql_store_result(), but the
>return value is always 0.  The documentation says that it will not work if I
>use it after mysql_use_result() without doing a fetch first, but I am doing
>a mysql_store_result() instead, which should work right away.  This seems to
>be a problem only on Solaris.  Is anyone else experiencing this problem?  I
>can't seem to find any documentation on this.  This is what I am currently
>using:
>
>   % mysql --version
>   Ver 11.16 Distrib 3.23.49, for sun-solaris2.8 (sparc)
>
>   % uname -a
>   SunOS X 5.8 Generic_108528-17 sun4u sparc SUNW,Sun-Fire-880
>
>Thanks,
>Hebron

It would help if you showed the code.
Thread
mysql_num_rows() on SolarisHebron Mak13 Mar
  • Re: mysql_num_rows() on SolarisPaul DuBois13 Mar