1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

any_char and one_char being public

added comment to firebird class for obtaining version
removed the use of prepared statements, the implementation is buggy and non-functional (types are missing)

git-svn-id: file:///svn/phpbb/trunk@9265 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-01-16 17:35:55 +00:00
parent 8db4022604
commit 6bfa84bb74
3 changed files with 82 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ class phpbb_dbal_mysqli extends phpbb_dbal
$row = @mysqli_fetch_assoc($result);
@mysqli_free_result($result);
$this->sql_server_version = $row['version'];
$this->sql_server_version = trim($row['version']);
if (phpbb::registered('acm'))
{
@@ -225,6 +225,7 @@ 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 = '')
{
@@ -245,7 +246,7 @@ class phpbb_dbal_mysqli extends phpbb_dbal
if ($where !== '')
{
$query .= $where;
$query .= ' WHERE ' . $where;
}
$stmt = mysqli_prepare($this->db_connect_id, $query);