diff --git a/src/sql/Expr.h b/src/sql/Expr.h index a8f2f47..0107cb6 100644 --- a/src/sql/Expr.h +++ b/src/sql/Expr.h @@ -98,7 +98,7 @@ struct Expr { char* name; char* table; char* alias; - float fval; + double fval; int64_t ival; int64_t ival2; DatetimeField datetimeField; diff --git a/src/util/sqlhelper.cpp b/src/util/sqlhelper.cpp index 1d718f7..2d672b0 100755 --- a/src/util/sqlhelper.cpp +++ b/src/util/sqlhelper.cpp @@ -14,7 +14,7 @@ namespace hsql { void inprint(int64_t val, uintmax_t numIndent) { std::cout << indent(numIndent).c_str() << val << " " << std::endl; } - void inprint(float val, uintmax_t numIndent) { + void inprint(double val, uintmax_t numIndent) { std::cout << indent(numIndent).c_str() << val << std::endl; } void inprint(const char* val, uintmax_t numIndent) {