mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge pull request #4320 from APriestman/skipSetIdleLine
Skip SET idle_in_transaction_session_timeout line in regression test
This commit is contained in:
commit
ff50219b73
@ -333,7 +333,7 @@ class TskDbDiff(object):
|
|||||||
for line in postgreSQL_db:
|
for line in postgreSQL_db:
|
||||||
line = line.strip('\r\n ')
|
line = line.strip('\r\n ')
|
||||||
# Deal with pg_dump result file
|
# Deal with pg_dump result file
|
||||||
if line.startswith('--') or line.lower().startswith('alter') or "pg_catalog" in line or not line: # It's comment or alter statement or catalog entry or empty line
|
if line.startswith('--') or line.lower().startswith('alter') or "pg_catalog" in line or "idle_in_transaction_session_timeout" in line or not line: # It's comment or alter statement or catalog entry or set idle entry or empty line
|
||||||
continue
|
continue
|
||||||
elif not line.endswith(';'): # Statement not finished
|
elif not line.endswith(';'): # Statement not finished
|
||||||
dump_line += line
|
dump_line += line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user