Update src/server/shared/Database/Field.h

This commit is contained in:
Machiavelli
2012-03-25 14:11:24 +03:00
parent 87176c84d3
commit eda06321b9

View File

@@ -203,7 +203,7 @@ class Field
return 0.0f;
#ifdef TRINITY_DEBUG
if (!IsType(MYSQL_TYPE_FLOAT))
if (!IsType(MYSQL_TYPE_DOUBLE))
{
sLog->outSQLDriver("Warning: GetDouble() on non-double field.");
return 0.0f;