Permalink
Browse files

MySQLi driver was changed in accordance with suggestions

Now it is ready for tests and possibly for merge.
  • Loading branch information...
1 parent c3fe704 commit 97a5836d5c71f3bed3bbecfac013e4b1b1197976 @MunGell MunGell committed Jan 27, 2012
@@ -257,7 +257,7 @@ function version()
// Some DBs have functions that return the version, and don't run special
// SQL queries per se. In these instances, just return the result.
- $driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo');
+ $driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo', 'mysqli');
if (in_array($this->dbdriver, $driver_version_exceptions))
{
@@ -221,7 +221,7 @@ public function _alter_table($alter_type, $table, $fields, $after_field = '')
{
return $sql.$this->db->protect_identifiers($fields);
}
-
+
if ($alter_type === 'ENGINE')
{
return $sql.$fields;
Oops, something went wrong.

0 comments on commit 97a5836

Please sign in to comment.