xp-framework/xp-framework — Issue #79: Availability of mysqlnd driver forces MySqlxConnection
Author: kiesel
Created: 2011-11-10 06:37:35+00:00
State: open

In ```rdbms.DriverManager```, there's this code:

```php
drivers['mysql']= XPClass::forName('rdbms.mysqlx.MySqlxConnection');
} else if (extension_loaded('mysql')) {
self::$instance->drivers['mysql']= XPClass::forName('rdbms.mysql.MySQLConnection');
...
?>
```

... when mysqlnd was compile, this forces usage of MySqlxConnection - without any option to override this. Given that MySqlxConnection might have a bug, the user cannot choose a different implementation; an implementation that would be available and that would also be working.