mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
fix an issue where multiple items could get created at the same time
subsequently, they would get the same itemid and this would fail
This commit is contained in:
parent
e2fd36bbdb
commit
95be37add0
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void Sapphire::Db::ZoneDbConnection::doPrepareStatements()
|
||||||
/// ITEM GLOBAL
|
/// ITEM GLOBAL
|
||||||
prepareStatement( CHARA_ITEMGLOBAL_INS,
|
prepareStatement( CHARA_ITEMGLOBAL_INS,
|
||||||
"INSERT INTO charaglobalitem ( CharacterId, ItemId, catalogId, stack, UPDATE_DATE ) VALUES ( ?, ?, ?, ?, NOW() );",
|
"INSERT INTO charaglobalitem ( CharacterId, ItemId, catalogId, stack, UPDATE_DATE ) VALUES ( ?, ?, ?, ?, NOW() );",
|
||||||
CONNECTION_BOTH );
|
CONNECTION_SYNC );
|
||||||
|
|
||||||
/// BNPC TEMPLATES
|
/// BNPC TEMPLATES
|
||||||
prepareStatement( ZONE_SEL_BNPCTEMPLATES,
|
prepareStatement( ZONE_SEL_BNPCTEMPLATES,
|
||||||
|
|
Loading…
Add table
Reference in a new issue