New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epoch 1.0.6 Changes #13

Open
wants to merge 21 commits into
base: master
from

Fix Child 309 error

  • Loading branch information...
icomrade committed Dec 1, 2016
commit d2f17ef5d051852b99a638c6d77a5311ecfbcd39
@@ -104,7 +104,7 @@ void SqlObjDataSource::populateObjects( int serverId, ServerObjectsQueue& queue
if (numIDUpdated > 0)
{
_logger.information("Updating " + lexical_cast<string>(numIDUpdated) + " Object_Data ObjectUID");
auto stmt2 = getDB()->makeStatement(_stmtUpdateObjectbyUID, "UPDATE " + _objTableName + " SET ObjectUID = (ObjectID + 1) " + commonUpdateUIDSql);
auto stmt2 = getDB()->makeStatement(_stmtChangeObjectUID, "UPDATE " + _objTableName + " SET ObjectUID = (ObjectID + 1) " + commonUpdateUIDSql);
if (!stmt2->directExecute())
_logger.error("Error executing update ObjectUID statement");
}
@@ -48,6 +48,7 @@ class SqlObjDataSource : public SqlDataSource, public ObjDataSource
bool _vehicleOOBReset;
//statement ids
SqlStatementID _stmtChangeObjectUID;
SqlStatementID _stmtDeleteOldObject;
SqlStatementID _stmtUpdateObjectbyUID;
SqlStatementID _stmtUpdateObjectByID;
ProTip! Use n and p to navigate between commits in a pull request.