-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MySQLi Database driver (refs #3898)
- Loading branch information
Showing
4 changed files
with
483 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php defined('SYSPATH') OR die('No direct script access.'); | ||
|
||
class Database_MySQLi extends Kohana_Database_MySQL {} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php defined('SYSPATH') OR die('No direct script access.'); | ||
|
||
class Database_MySQLi_Result extends Kohana_Database_MySQL_Result {} | ||
This comment has been minimized.
Sorry, something went wrong. |
Oops, something went wrong.
1 comment
on commit 22eb34d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, if it possible, use $this->_config['persistent']
variable (available with PHP 5.3+)
See http://www.php.net/manual/en/mysqli.persistconns.php
why
Kohana_Database_MySQL
insteadKohana_Database_MySQLi
?