Marcin Kuzminski  committed cd86511

applied caching query update from latest sqlalchemy

  • Participants
  • Parent commits b6cac38
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/model/

     v = []
     def visit_bindparam(bind):
         value = query._params.get(bind.key, bind.value)
         # lazyloader may dig a callable in here, intended
         # to late-evaluate params after autoflush is called.
         # convert to a scalar value.
     if query._criterion is not None:
         visitors.traverse(query._criterion, {}, {'bindparam':visit_bindparam})
-    for f in query._from_obj:
-        visitors.traverse(f, {}, {'bindparam':visit_bindparam})
     return v