aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/QueryResult.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-11-09 16:57:56 +0100
committerShauren <shauren.trinity@gmail.com>2014-11-09 16:57:56 +0100
commit543bea32e16bbe317171d24888a5f0c751ea19e8 (patch)
tree3475ec61c0812ab9a6025cea6b4e4cd8696b2757 /src/server/shared/Database/QueryResult.cpp
parent18cce601b91e34b360a82a07365b6a3491a30ccb (diff)
Core/DBLayer: Fixed a few mismatched types and possible invalid memory access with aggregate fields in queries
Diffstat (limited to 'src/server/shared/Database/QueryResult.cpp')
-rw-r--r--src/server/shared/Database/QueryResult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Database/QueryResult.cpp b/src/server/shared/Database/QueryResult.cpp
index a6d9c64622a..154cf5cda41 100644
--- a/src/server/shared/Database/QueryResult.cpp
+++ b/src/server/shared/Database/QueryResult.cpp
@@ -172,7 +172,7 @@ bool ResultSet::NextRow()
}
for (uint32 i = 0; i < _fieldCount; i++)
- _currentRow[i].SetStructuredValue(row[i], _fields[i].type, lengths[i], (_fields[i].flags & BINARY_FLAG) != 0);
+ _currentRow[i].SetStructuredValue(row[i], _fields[i].type, lengths[i]);
return true;
}