Skip to content

Commit f0ace80

Browse files
committed
fix CONCAT function not found on old version SQLite
1 parent e14da1e commit f0ace80

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

0 commit comments

Comments
 (0)