aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/completion.c
diff options
context:
space:
mode:
authordrh <>2024-07-31 23:46:10 +0000
committerdrh <>2024-07-31 23:46:10 +0000
commita3ee3860a2bef9f44561093b5e39d9160840671b (patch)
treefab970cd979cde29df6ca4ddc1856fd2d6af870d /ext/misc/completion.c
parentc96e47c80e67d3a21c591ccb3432f3c18153f8aa (diff)
parenta1291e79d3d0c8b6aa40b455151b988a92879e17 (diff)
downloadsqlite-a3ee3860a2bef9f44561093b5e39d9160840671b.tar.gz
sqlite-a3ee3860a2bef9f44561093b5e39d9160840671b.zip
Merge all the latest trunk enhancements into the exists-to-join branch.
FossilOrigin-Name: 9084a4c8726a2c7ba1c381886e29c7b86121d531282be0d63d5988d84f6f448d
Diffstat (limited to 'ext/misc/completion.c')
-rw-r--r--ext/misc/completion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/completion.c b/ext/misc/completion.c
index 987595a3d..54abc0ae1 100644
--- a/ext/misc/completion.c
+++ b/ext/misc/completion.c
@@ -251,7 +251,7 @@ static int completionNext(sqlite3_vtab_cursor *cur){
zSql = sqlite3_mprintf(
"%z%s"
"SELECT pti.name FROM \"%w\".sqlite_schema AS sm"
- " JOIN pragma_table_info(sm.name,%Q) AS pti"
+ " JOIN pragma_table_xinfo(sm.name,%Q) AS pti"
" WHERE sm.type='table'",
zSql, zSep, zDb, zDb
);