1
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
5
* An open source application development framework for PHP 5.1.6 or newer
8
* @author ExpressionEngine Dev Team
9
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
10
* @license http://codeigniter.com/user_guide/license.html
11
* @link http://codeigniter.com
16
// ------------------------------------------------------------------------
19
* MySQLi Utility Class
22
* @author ExpressionEngine Dev Team
23
* @link http://codeigniter.com/user_guide/database/
25
class CI_DB_mysqli_utility extends CI_DB_utility {
33
function _list_databases()
35
return "SHOW DATABASES";
38
// --------------------------------------------------------------------
41
* Optimize table query
43
* Generates a platform-specific query so that a table can be optimized
46
* @param string the table name
49
function _optimize_table($table)
51
return "OPTIMIZE TABLE ".$this->db->_escape_identifiers($table);
54
// --------------------------------------------------------------------
59
* Generates a platform-specific query so that a table can be repaired
62
* @param string the table name
65
function _repair_table($table)
67
return "REPAIR TABLE ".$this->db->_escape_identifiers($table);
70
// --------------------------------------------------------------------
76
* @param array Preferences
79
function _backup($params = array())
81
// Currently unsupported
82
return $this->db->display_error('db_unsuported_feature');
86
/* End of file mysqli_utility.php */
87
/* Location: ./system/database/drivers/mysqli/mysqli_utility.php */
b'\\ No newline at end of file'