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 // ------------------------------------------------------------------------
22 * @author ExpressionEngine Dev Team
23 * @link http://codeigniter.com/database/
25 class CI_DB_odbc_utility extends CI_DB_utility {
33 function _list_databases()
35 // Not sure if ODBC lets you list all databases...
36 if ($this->db->db_debug)
38 return $this->db->display_error('db_unsuported_feature');
43 // --------------------------------------------------------------------
46 * Optimize table query
48 * Generates a platform-specific query so that a table can be optimized
51 * @param string the table name
54 function _optimize_table($table)
56 // Not a supported ODBC feature
57 if ($this->db->db_debug)
59 return $this->db->display_error('db_unsuported_feature');
64 // --------------------------------------------------------------------
69 * Generates a platform-specific query so that a table can be repaired
72 * @param string the table name
75 function _repair_table($table)
77 // Not a supported ODBC feature
78 if ($this->db->db_debug)
80 return $this->db->display_error('db_unsuported_feature');
85 // --------------------------------------------------------------------
91 * @param array Preferences
94 function _backup($params = array())
96 // Currently unsupported
97 return $this->db->display_error('db_unsuported_feature');
102 /* End of file odbc_utility.php */
103 /* Location: ./system/database/drivers/odbc/odbc_utility.php */