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
* SQLite Utility Class
22
* @author ExpressionEngine Dev Team
23
* @link http://codeigniter.com/user_guide/database/
25
class CI_DB_sqlite_utility extends CI_DB_utility {
30
* I don't believe you can do a database listing with SQLite
31
* since each database is its own file. I suppose we could
32
* try reading a directory looking for SQLite files, but
33
* that doesn't seem like a terribly good idea
38
function _list_databases()
42
return $this->db->display_error('db_unsuported_feature');
47
// --------------------------------------------------------------------
50
* Optimize table query
52
* Is optimization even supported in SQLite?
55
* @param string the table name
58
function _optimize_table($table)
63
// --------------------------------------------------------------------
68
* Are table repairs even supported in SQLite?
71
* @param string the table name
74
function _repair_table($table)
79
// --------------------------------------------------------------------
85
* @param array Preferences
88
function _backup($params = array())
90
// Currently unsupported
91
return $this->db->display_error('db_unsuported_feature');
95
/* End of file sqlite_utility.php */
96
/* Location: ./system/database/drivers/sqlite/sqlite_utility.php */
b'\\ No newline at end of file'