summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2022-01-27 17:18:20 +0100
committerGitHub <noreply@github.com>2022-01-27 17:18:20 +0100
commit59e6c53fc0900e29cc3b223aad61173a18f6b5f6 (patch)
tree062c2458d249b7189bcd9ac13ca3f2c4b0c0e529 /docs
parentdb23fa7736c706e05b39fa5ddc35af2e3089b75c (diff)
downloadwiki-59e6c53fc0900e29cc3b223aad61173a18f6b5f6.tar.gz
wiki-59e6c53fc0900e29cc3b223aad61173a18f6b5f6.tar.bz2
wiki-59e6c53fc0900e29cc3b223aad61173a18f6b5f6.zip
chore: cleanup
Diffstat (limited to 'docs')
-rw-r--r--docs/mysqltypescpp.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/mysqltypescpp.md b/docs/mysqltypescpp.md
index 4e7d976..0489c2d 100644
--- a/docs/mysqltypescpp.md
+++ b/docs/mysqltypescpp.md
@@ -207,12 +207,12 @@ redirect_from: "/MySQLtypesC++"
QueryResult result = WorldDatabase.Query("SELECT guid, entry, name, period, ScriptName FROM transports");
do
{
- Field* fields = result->Fetch();
- uint32 lowguid = fields[0].GetUInt32();
- uint32 entry = fields[1].GetUInt32();
+ Field* fields = result->Fetch();
+ uint32 lowguid = fields[0].GetUInt32();
+ uint32 entry = fields[1].GetUInt32();
std::string name = fields[2].GetString();
- uint32 period = fields[3].GetUInt32();
- uint32 scriptId = sObjectMgr->GetScriptId(fields[4].GetCString());
+ uint32 period = fields[3].GetUInt32();
+ uint32 scriptId = sObjectMgr->GetScriptId(fields[4].GetCString());
// ...
}