[phplib] Bugs in db_mysql.inc ? From: Forrest J Cavalier III (forrest <email protected>)
Date: 06/04/01

Doing a little bit more auditing. (Again,
this is just for testing the tool. I only
have done table.inc and now db_mysql.inc
from phplib...)

I'm not sure this is a bug...
In db_mysql.inc seek()
      $this->Row = $this->num_rows;

There is a num_rows function, but not a num_rows
member variable.

Does PHP call the function even when there are no ()?
-------------------------------------------
In db_mysql.inc lock()

there is error handling code...

    if (!$res) {
      $this->halt("lock($table, $mode) failed.");
      return 0;
    }

which doesn't work so well when $table is an
array.

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>