Skip to content
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

SqlObjDataSource.cpp #11

Open
Sandbird opened this issue Dec 12, 2014 · 1 comment
Open

SqlObjDataSource.cpp #11

Sandbird opened this issue Dec 12, 2014 · 1 comment

Comments

@Sandbird
Copy link

At file: https://github.com/vbawol/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/DataSource/SqlObjDataSource.cpp

Should be :
auto worldObjsRes = getDB()->queryParams("SELECT ObjectID FROM %s WHERE Instance = %d AND ObjectUID = %'PRIu64'", _objTableName.c_str(), serverId, objectIdent);

instead of double quotes:

auto worldObjsRes = getDB()->queryParams("SELECT ObjectID FROM %s WHERE Instance = %d AND ObjectUID = %"PRIu64"", _objTableName.c_str(), serverId, objectIdent);

Throws an error that ) is missing

@icomrade
Copy link

icomrade commented Jul 20, 2016

This should be fixed in e8eee85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants