Merge branch 'rhymix:develop' into develop

This commit is contained in:
BOBODDO 2021-11-12 22:43:24 +09:00 committed by GitHub
commit e86b887e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -678,7 +678,7 @@ class DB
*/
public function getNextSequence()
{
$this->_handle->exec(sprintf('INSERT INTO `%s` (seq) VALUES (0)', $this->addQuotes($this->_prefix . 'sequence')));
$this->_handle->exec(sprintf('INSERT INTO `%s` (seq) VALUES (NULL)', $this->addQuotes($this->_prefix . 'sequence')));
$sequence = $this->getInsertID();
if ($this->isError())
{