aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/Field.h
diff options
context:
space:
mode:
authorShauren <none@none>2010-12-23 23:25:44 +0100
committerShauren <none@none>2010-12-23 23:25:44 +0100
commit928443d8993869dfbf3adceabe4ba0b3cfe0edef (patch)
treeb30f1385e6f2dd8d95357590593aa2988b094593 /src/server/shared/Database/Field.h
parent95daf7998fc3b772fdcd70087c12db80bd5a031a (diff)
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/Field.h')
-rwxr-xr-xsrc/server/shared/Database/Field.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/server/shared/Database/Field.h b/src/server/shared/Database/Field.h
index 8b494d21679..cfe2e2149a2 100755
--- a/src/server/shared/Database/Field.h
+++ b/src/server/shared/Database/Field.h
@@ -43,7 +43,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetUInt8() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetUInt8() on non-numeric field.");
return 0;
}
#endif
@@ -60,7 +60,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GeInt8() on non-numeric field.");
+ sLog->outSQLDriver("Error: GeInt8() on non-numeric field.");
return 0;
}
#endif
@@ -77,7 +77,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetUInt16() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetUInt16() on non-numeric field.");
return 0;
}
#endif
@@ -94,7 +94,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetInt16() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetInt16() on non-numeric field.");
return 0;
}
#endif
@@ -111,7 +111,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetUInt32() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetUInt32() on non-numeric field.");
return 0;
}
#endif
@@ -128,7 +128,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetInt32() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetInt32() on non-numeric field.");
return 0;
}
#endif
@@ -145,7 +145,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetUInt64() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetUInt64() on non-numeric field.");
return 0;
}
#endif
@@ -162,7 +162,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetInt64() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetInt64() on non-numeric field.");
return 0;
}
#endif
@@ -179,7 +179,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetFloat() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetFloat() on non-numeric field.");
return 0.0f;
}
#endif
@@ -196,7 +196,7 @@ class Field
#ifdef TRINITY_DEBUG
if (!IsNumeric())
{
- sLog.outSQLDriver("Error: GetDouble() on non-numeric field.");
+ sLog->outSQLDriver("Error: GetDouble() on non-numeric field.");
return 0.0f;
}
#endif
@@ -213,7 +213,7 @@ class Field
#ifdef TRINITY_DEBUG
if (IsNumeric())
{
- sLog.outSQLDriver("Error: GetCString() on numeric field.");
+ sLog->outSQLDriver("Error: GetCString() on numeric field.");
return NULL;
}
#endif
@@ -311,7 +311,7 @@ class Field
MYSQL_TYPE_SET:
*/
default:
- sLog.outSQLDriver("SQL::SizeForType(): invalid field type %u", uint32(field->type));
+ sLog->outSQLDriver("SQL::SizeForType(): invalid field type %u", uint32(field->type));
return 0;
}
}