ladybird/Userland/Services/SQLServer
Timothy Flynn 12152a4556 SQLServer: Re-use already opened SQL::Database objects
Currently, we create a new SQL::Database object for each database we are
requested to open. When multiple clients connect to the same database,
the same underlying database file is opened and cached each time. This
results in updates from one client not being propagated to others.

To prevent this, when a database is requested to be open, check if it is
already open. We can then re-use that SQL::Database object for the new
connection.
2022-12-11 10:08:17 -05:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConnectionFromClient.cpp SQLServer: Add a hook to inform owners of disconnected SQL clients 2022-12-09 20:33:19 +00:00
ConnectionFromClient.h SQLServer: Add a hook to inform owners of disconnected SQL clients 2022-12-09 20:33:19 +00:00
DatabaseConnection.cpp SQLServer: Re-use already opened SQL::Database objects 2022-12-11 10:08:17 -05:00
DatabaseConnection.h SQLServer: Re-use already opened SQL::Database objects 2022-12-11 10:08:17 -05:00
Forward.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
main.cpp SQLServer: Store LibSQL database files in the standard data directory 2022-12-08 17:14:48 +01:00
SQLClient.ipc LibSQL+SQLServer+SQLStudio+sql: Send result rows over IPC as SQL::Value 2022-12-07 13:09:00 +01:00
SQLServer.ipc LibSQL+SQLServer+SQLStudio+sql: Propagate connection errors immediately 2022-12-07 13:09:00 +01:00
SQLStatement.cpp LibSQL+SQLServer+SQLStudio+sql: Give ID types a distinct name 2022-12-08 17:14:48 +01:00
SQLStatement.h LibSQL+SQLServer+SQLStudio+sql: Give ID types a distinct name 2022-12-08 17:14:48 +01:00