开发者

Do SQLite connections share temp tables in shared-cache mode?

开发者 https://www.devze.com 2023-02-06 14:32 出处:网络
If two SQLite connections are opened on the same database using the shared-cache mode, will a temporary table create开发者_Go百科d in one connection be visible in the other?I think they should not be

If two SQLite connections are opened on the same database using the shared-cache mode, will a temporary table create开发者_Go百科d in one connection be visible in the other?


I think they should not be visible, but you can look for yourself: Call

SELECT * FROM SQLITE_TEMP_MASTER

from multiple processes (one with created temp table and one without) and compare the results.

0

精彩评论

暂无评论...
验证码 换一张
取 消