Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Sep 25, 2023
1 parent bba75b4 commit e08a10c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions edk2toollib/database/tables/instanced_inf_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class TEXT,
CREATE TABLE IF NOT EXISTS instanced_inf_source_junction (env, component, instanced_inf, source);
'''

CREATE_INSTNACED_INF_SOURCE_TABLE_JUNCTION_INDEX = '''
CREATE_INSTANCED_INF_SOURCE_TABLE_JUNCTION_INDEX = '''
CREATE INDEX IF NOT EXISTS instanced_inf_source_junction_index ON instanced_inf_source_junction (env);
'''

Expand Down Expand Up @@ -89,7 +89,7 @@ def create_tables(self, db_cursor: Cursor) -> None:
db_cursor.execute(CREATE_INSTANCED_INF_TABLE_JUNCTION)
db_cursor.execute(CREATE_INSTANCED_INF_TABLE_JUNCTION_INDEX)
db_cursor.execute(CREATE_INSTANCED_INF_SOURCE_TABLE_JUNCTION)
db_cursor.execute(CREATE_INSTNACED_INF_SOURCE_TABLE_JUNCTION_INDEX)
db_cursor.execute(CREATE_INSTANCED_INF_SOURCE_TABLE_JUNCTION_INDEX)

def inf(self, inf: str) -> InfP:
"""Returns a parsed INF object.
Expand Down Expand Up @@ -144,7 +144,7 @@ def _insert_db_rows(self, db_cursor, env_id, inf_entries) -> int:
]
db_cursor.executemany(INSERT_INSTANCED_INF_ROW, rows)

# Link isnstaced INF sources
# Link instanced INF sources
rows = []
for e in inf_entries:
rows += [(env_id, e["COMPONENT"], e["PATH"], source) for source in e["SOURCES_USED"]]
Expand Down

0 comments on commit e08a10c

Please sign in to comment.