aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/QueryResult.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-09-19 15:25:50 +0200
committerMachiavelli <none@none>2010-09-19 15:25:50 +0200
commit22571e9443ca3d1211f1f9888c67156481916d8b (patch)
treeda772e3f7dd6c8c4381adf1bad8fc7879440818d /src/server/shared/Database/QueryResult.h
parentb50c931d6eddb9493c494bc09900c79893b0bf1a (diff)
Core/DBLayer:
- Allow storing floats in prepared statements explicitly (previously would be casted to double) - Add GetBool ¨wrapper/hack¨ to PreparedResultset class. --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/QueryResult.h')
-rwxr-xr-xsrc/server/shared/Database/QueryResult.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/shared/Database/QueryResult.h b/src/server/shared/Database/QueryResult.h
index 25661a2b06e..22cd8bbf19e 100755
--- a/src/server/shared/Database/QueryResult.h
+++ b/src/server/shared/Database/QueryResult.h
@@ -195,6 +195,7 @@ class PreparedResultSet
operator bool() { return num_rows > 0; }
+ bool GetBool(uint32 index);
uint8 GetUInt8(uint32 index);
int8 GetInt8(uint32 index);
uint16 GetUInt16(uint32 index);