Skip to content

Commit

Permalink
remove duplicate assignment of columns in elf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Sep 22, 2023
1 parent 7a50a56 commit f295975
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sqlelf/elf.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ def register_virtual_tables(
]
for factory, name in factory_and_names:
generator = factory(binaries)
# setup columns and access by providing an example of the first entry returned
generator.columns, generator.column_access = apsw.ext.get_column_names(
next(generator())
)
apsw.ext.make_virtual_module(connection, name, generator)
connection.execute(
"""
Expand Down

0 comments on commit f295975

Please sign in to comment.