1. Olemis Lang
  2. bloodhound_hggit

Commits

Matevz Bradac  committed 8c661d4 Draft

Fixed issues with new version of python-sqlparse (from Jure)

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/trunk@146687413f79535-47bb-0310-9956-ffa450edef68

  • Participants
  • Parent commits fc3e35d
  • Branches default

Comments (0)

Files changed (1)

File bloodhound_multiproduct/multiproduct/dbcursor.py

View file
  • Ignore whitespace
                     raise Exception("Invalid FROM table name")
                 name, alias = l[0], None
                 alias = l[1] if len(l) > 1 else name
-                token = nametokens[0]
-                for t in nametokens[1:]:
-                    self._token_delete(parent, t)
-                inject_table_view(token, name, alias)
+                if not name in self._skip_tables:
+                    token = nametokens[0]
+                    for t in nametokens[1:]:
+                        self._token_delete(parent, t)
+                    inject_table_view(token, name, alias)
             return list()
 
         current_token = self._token_next(parent, start_token)