Update src/server/shared/Database/Field.h
This commit is contained in:
@@ -203,7 +203,7 @@ class Field
|
|||||||
return 0.0f;
|
return 0.0f;
|
||||||
|
|
||||||
#ifdef TRINITY_DEBUG
|
#ifdef TRINITY_DEBUG
|
||||||
if (!IsType(MYSQL_TYPE_FLOAT))
|
if (!IsType(MYSQL_TYPE_DOUBLE))
|
||||||
{
|
{
|
||||||
sLog->outSQLDriver("Warning: GetDouble() on non-double field.");
|
sLog->outSQLDriver("Warning: GetDouble() on non-double field.");
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user