Skip to content

Commit 9924bc5

Browse files
committed
fix misuse of ESCAPE keyword
1 parent d54da10 commit 9924bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/sqlite3/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def runsource(self, source, filename="<input>", symbol="single"):
7373
END
7474
FROM "{schema}".sqlite_master
7575
WHERE type IN ('table', 'view')
76-
AND name NOT LIKE 'sqlite_%' ESCAPE '_'"""
76+
AND name NOT LIKE 'sqlite^_%' ESCAPE '^'"""
7777
for schema in schema_names
7878
)
7979
command = " UNION ALL ".join(select_clauses) + " ORDER BY 1"

0 commit comments

Comments
 (0)