aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-01-21 17:07:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-01-21 17:07:34 +0000
commit121116cae369f7385d475c8354f976d56ac3e909 (patch)
tree56f12f261ee318fb7eef3b7135e3c95b8454efa2 /phpBB
parentd61459fce32d53926498ebc8d8d2274134fc5994 (diff)
downloadforums-121116cae369f7385d475c8354f976d56ac3e909.tar
forums-121116cae369f7385d475c8354f976d56ac3e909.tar.gz
forums-121116cae369f7385d475c8354f976d56ac3e909.tar.bz2
forums-121116cae369f7385d475c8354f976d56ac3e909.tar.xz
forums-121116cae369f7385d475c8354f976d56ac3e909.zip
SQLite support (DB2 must wait until i get a new DB2 extensions. :/)
git-svn-id: file:///svn/phpbb/trunk@9290 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/db/sqlite.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/phpBB/includes/db/sqlite.php b/phpBB/includes/db/sqlite.php
index aa971e8484..0c5cd74f12 100644
--- a/phpBB/includes/db/sqlite.php
+++ b/phpBB/includes/db/sqlite.php
@@ -250,20 +250,10 @@ class phpbb_dbal_sqlite extends phpbb_dbal
/**
* Handle data by using prepared statements. See {@link phpbb_dbal::sql_handle_data() sql_handle_data()} for details.
- * @todo implement correctly by using types. ;)
- */
public function sql_handle_data($type, $table, $data, $where = '')
{
- if ($type === 'UPDATE')
- {
- $where = ($where) ? ' WHERE ' . $where : '';
- $this->sql_query('UPDATE ' . $table . ' SET ' . $db->sql_build_array('UPDATE', $data) . $where);
- }
- else
- {
- $this->sql_query('INSERT INTO ' . $table . ' ' . $this->sql_build_array('INSERT', $data));
- }
}
+ */
/**
* Build DB-specific query bits. See {@link phpbb_dbal::_sql_custom_build() _sql_custom_build()} for details.