mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
SQL-Standard
This commit is contained in:
parent
c18b9e739b
commit
499526000a
@ -34,7 +34,7 @@ public function create() {
|
|||||||
$room = parent::create();
|
$room = parent::create();
|
||||||
|
|
||||||
WCF::getDB()->beginTransaction();
|
WCF::getDB()->beginTransaction();
|
||||||
$sql = "SELECT max(position) as max
|
$sql = "SELECT MAX(position)
|
||||||
FROM wcf".WCF_N."_chat_room
|
FROM wcf".WCF_N."_chat_room
|
||||||
FOR UPDATE";
|
FOR UPDATE";
|
||||||
$stmt = WCF::getDB()->prepareStatement($sql);
|
$stmt = WCF::getDB()->prepareStatement($sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user