Fix missing var->sqllen