diff options
| author | Shauren <none@none> | 2010-09-12 19:17:58 +0200 |
|---|---|---|
| committer | Shauren <none@none> | 2010-09-12 19:17:58 +0200 |
| commit | e0ffae436c339b7dba3249ba62ca4a3362a6eba7 (patch) | |
| tree | 7967bdbac07450eef02c3a69a906af556f32e65c /src/server/shared | |
| parent | 976cc3f8c4cb23865f92a86651bf063b98304e86 (diff) | |
Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them)
Core/DBLayer: Fixed more compile warnings
Core/Spells: Corrected code style from revision 634af79146
Closes issue #3956.
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared')
| -rw-r--r-- | src/server/shared/Database/QueryResult.cpp | 2 | ||||
| -rwxr-xr-x | src/server/shared/Database/QueryResult.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/shared/Database/QueryResult.cpp b/src/server/shared/Database/QueryResult.cpp index 18866e49fac..f2350df9e6d 100644 --- a/src/server/shared/Database/QueryResult.cpp +++ b/src/server/shared/Database/QueryResult.cpp @@ -105,7 +105,7 @@ enum Field::DataTypes ResultSet::ConvertNativeType(enum_field_types mysqlType) c } } -void ResultBind::BindResult(uint32& num_rows) +void ResultBind::BindResult(uint64& num_rows) { FreeBindBuffer(); diff --git a/src/server/shared/Database/QueryResult.h b/src/server/shared/Database/QueryResult.h index 3aef0d13a5a..096c562b33c 100755 --- a/src/server/shared/Database/QueryResult.h +++ b/src/server/shared/Database/QueryResult.h @@ -114,7 +114,7 @@ class ResultBind CleanUp(); // Clean up buffer } - void BindResult(uint32& num_rows); + void BindResult(uint64& num_rows); protected: MYSQL_BIND* m_rBind; @@ -228,8 +228,8 @@ class PreparedResultSet } ResultBind* rbind; - uint32 row_position; - uint32 num_rows; + uint64 row_position; + uint64 num_rows; }; typedef ACE_Refcounted_Auto_Ptr<PreparedResultSet, ACE_Null_Mutex> PreparedQueryResult; |
