John Scoles wrote:
>> [EMAIL PROTECTED] wrote:
>>> Anyone knows if DBD::Oracle has a function similar to the function
>>> $sth->rows that exist in DBD::Mysql?
>>
>> This is a DBI feature. It exists for all drivers.
>>
>>> This function give us the number o rows in a select command. So, we
>>> don
On Wed, 2007-04-11 at 09:59 -0500, Scott T. Hildreth wrote:
> I had to add this to dbdimp.c, mysql_warning_count() is not implemented
> before 4.1,
>
> #if MYSQL_VERSION_ID >= SQL_STATE_VERSION
> imp_sth->warning_count = mysql_warning_count(&imp_dbh->mysql);
> #else
> imp_sth->warning_count =
Oracle doesn't have this feature so DBD::Oracle doesn't either.
This has cropped up many times before So you can blame Oracle on that.
Thier logic (as it was explained to me) is
"How could you get the number of rows you are going to fetch without
counting them all first?"
or someting very co
I had to add this to dbdimp.c, mysql_warning_count() is not implemented
before 4.1,
#if MYSQL_VERSION_ID >= SQL_STATE_VERSION
imp_sth->warning_count = mysql_warning_count(&imp_dbh->mysql);
#else
imp_sth->warning_count = 0;
#endif
I don't know if setting the count to 0 is what I should do he
[EMAIL PROTECTED] wrote:
> Anyone knows if DBD::Oracle has a function similar to the function
> $sth->rows that exist in DBD::Mysql?
This is a DBI feature. It exists for all drivers.
> This function give us the number o rows in a select command. So, we
> don´t have to run a fetchrow with a while
Anyone knows if DBD::Oracle has a function similar to the function $sth->rows
that exist in DBD::Mysql?
This function give us the number o rows in a select command. So, we don´t have
to run a fetchrow with a while loop to know how many rows the select will
return.
This is very important to me bec