Skip to content

Commit ade6c0f

Browse files
committed
fix misuse of ESCAPE keyword
1 parent 2fbc54a commit ade6c0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)