mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1755 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
64b0aa789e
commit
dd18ad335f
25 changed files with 583 additions and 461 deletions
|
|
@ -175,7 +175,7 @@
|
|||
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
||||
$this->_query($query);
|
||||
$sequence = mysql_insert_id();
|
||||
$query = sprintf("delete from `%ssequence`", $this->prefix);
|
||||
$query = sprintf("delete from `%ssequence` where seq < %d", $this->prefix, $sequence);
|
||||
$this->_query($query);
|
||||
|
||||
return $sequence;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue