diff --git a/src/util/sqlhelper.cpp b/src/util/sqlhelper.cpp index ad286fd..74ef81b 100755 --- a/src/util/sqlhelper.cpp +++ b/src/util/sqlhelper.cpp @@ -81,7 +81,11 @@ namespace hsql { break; } printExpression(expr->expr, numIndent + 1); - if (expr->expr2 != nullptr) printExpression(expr->expr2, numIndent + 1); + if (expr->expr2 != nullptr) { + printExpression(expr->expr2, numIndent + 1); + } else if (expr->exprList != nullptr) { + for (Expr* e : *expr->exprList) printExpression(e, numIndent + 1); + } } void printExpression(Expr* expr, uintmax_t numIndent) {