mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
Updated table name in 'discovery_pos'
Table was renamed from dbdiscoveryref to discoveryinfo, updating to reflect that.
This commit is contained in:
parent
b94499e901
commit
5579e5ab34
1 changed files with 3 additions and 3 deletions
|
@ -226,10 +226,10 @@ void Core::GameCommandHandler::set( char * data, Core::Entity::PlayerPtr pPlayer
|
||||||
int32_t pos_id;
|
int32_t pos_id;
|
||||||
sscanf( params.c_str(), "%i %i %i", &pos_id, &map_id, &discover_id );
|
sscanf( params.c_str(), "%i %i %i", &pos_id, &map_id, &discover_id );
|
||||||
|
|
||||||
std::string query2 = "UPDATE IGNORE `dbdiscoveryref` SET `discover_id` = '" + std::to_string( discover_id ) +
|
std::string query2 = "UPDATE IGNORE `discoveryinfo` SET `discover_id` = '" + std::to_string( discover_id ) +
|
||||||
"' WHERE `dbdiscoveryref`.`id` = " + std::to_string( pos_id ) + ";";
|
"' WHERE `discoveryinfo`.`id` = " + std::to_string( pos_id ) + ";";
|
||||||
|
|
||||||
std::string query1 = "INSERT IGNORE INTO `dbdiscoveryref` (`id`, `map_id`, `discover_id`) VALUES ('" + std::to_string( pos_id ) +
|
std::string query1 = "INSERT IGNORE INTO `discoveryinfo` (`id`, `map_id`, `discover_id`) VALUES ('" + std::to_string( pos_id ) +
|
||||||
"', '" + std::to_string( map_id ) +
|
"', '" + std::to_string( map_id ) +
|
||||||
"', '" + std::to_string( discover_id ) + "')";
|
"', '" + std::to_string( discover_id ) + "')";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue