File: phpbb/db/driver/driver.php
Unmodified
Added
Modified
Removed
Line 632 | Line 632 |
---|
function cast_expr_to_bigint($expression) { return $expression;
|
function cast_expr_to_bigint($expression) { return $expression;
|
| }
/** * {@inheritDoc} */ public function sql_nextid() { return $this->sql_last_inserted_id();
|
}
/**
| }
/**
|
Line 1236 | Line 1244 |
---|
$this->sql_freeresult($result);
return $rows_total;
|
$this->sql_freeresult($result);
return $rows_total;
|
| }
/** * {@inheritDoc} */ public function clean_query_id($query_id) { // Some DBMS functions accept/return objects and/or resources instead if identifiers // Attempting to use objects/resources as array keys will throw error, hence correctly handle all cases if (is_resource($query_id)) { return function_exists('get_resource_id') ? get_resource_id($query_id) : (int) $query_id; } else { return is_object($query_id) ? spl_object_id($query_id) : $query_id; }
|
} }
| } }
|