Skip to content

Commit f7a7781

Browse files
committed
fix CONCAT function not found on old version SQLite
1 parent a84165d commit f7a7781

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
@@ -68,7 +68,7 @@ def runsource(self, source, filename="<input>", symbol="single"):
6868
select_clauses = (f"""SELECT
6969
CASE '{schema}'
7070
WHEN 'main' THEN name
71-
ELSE CONCAT('{schema}.', name)
71+
ELSE '{schema}.' || name
7272
END
7373
FROM "{schema}".sqlite_master
7474
WHERE type IN ('table', 'view')

0 commit comments

Comments
 (0)