File: phpbb/db/driver/factory.php
Unmodified
Added
Modified
Removed
Line 13 | Line 13 |
---|
namespace phpbb\db\driver;
|
namespace phpbb\db\driver;
|
use \Symfony\Component\DependencyInjection\ContainerInterface;
| use Symfony\Component\DependencyInjection\ContainerInterface;
|
/** * Database Abstraction Layer
| /** * Database Abstraction Layer
|
Line 318 | Line 318 |
---|
*/ public function sql_nextid() {
|
*/ public function sql_nextid() {
|
return $this->get_driver()->sql_nextid();
| return $this->get_driver()->sql_last_inserted_id(); }
/** * {@inheritdoc} */ public function sql_last_inserted_id() { return $this->get_driver()->sql_last_inserted_id();
|
}
/**
| }
/**
|
Line 455 | Line 463 |
---|
public function sql_in_set($field, $array, $negate = false, $allow_empty_set = false) { return $this->get_driver()->sql_in_set($field, $array, $negate, $allow_empty_set);
|
public function sql_in_set($field, $array, $negate = false, $allow_empty_set = false) { return $this->get_driver()->sql_in_set($field, $array, $negate, $allow_empty_set);
|
| }
/** * {@inheritdoc} */ public function sql_quote($msg) { return $this->get_driver()->sql_quote($msg); }
/** * {@inheritDoc} */ public function clean_query_id($query_id) { return $this->get_driver()->clean_query_id($query_id);
|
} }
| } }
|