mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
put sql_handle_data() into dbal and let DBMS who support this overwrite it. David: would be nice if you could have a look at it later. ;)
git-svn-id: file:///svn/phpbb/trunk@9285 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -258,8 +258,6 @@ class phpbb_dbal_mysqli 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 === 'INSERT')
|
||||
@@ -293,6 +291,7 @@ class phpbb_dbal_mysqli extends phpbb_dbal
|
||||
|
||||
mysqli_stmt_close($stmt);
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Build DB-specific query bits. See {@link phpbb_dbal::_sql_custom_build() _sql_custom_build()} for details.
|
||||
|
Reference in New Issue
Block a user