Fire Element
Member
I tested it and got an error:
-> you have an error in your sql syntax check the manual that corresponds to your mysql server version
- - - Updated - - -
Fixed ^.^
Code:
query << "DELETE FROM `tile_items` WHERE `tile_id` IN (SELECT `id` FROM `tiles` WHERE `house_id` = "
<< house->getId() << " AND `world_id` = " << g_config.getNumber(ConfigManager::WORLD_ID)
<< ") AND `world_id` = " << g_config.getNumber(ConfigManager::WORLD_ID);
-> you have an error in your sql syntax check the manual that corresponds to your mysql server version
- - - Updated - - -
Fixed ^.^