Reported two bugs to Panama Jack (when he gets to checking the Bug submissions to the Sourceforge trackers.

First is an ODBC driver bug which produces a fatal error on all recent PHP versions. Caused by a function call which is compatible with <4.2.0 versions of PHP. Although this is protected by an if…else statement, its still picked up by PHP before execution.

Second, the ADOSchema class has a error when parsing an XMLSchema to be used for PostgreSQL. PostgreSQL uses 4 specialised SQL function calls which are passed to an Execute() method attached to the wrong object (i.e. its an invalid method call).

The fixes appear very minor. So hopefully easily applied for the next version…

Related posts:

  1. Bugs are bad, legacy code bugs are really bad…
  2. Escaping in ADOdb; does it exist?