mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:52:43 +00:00 
			
		
		
		
	|  12152a4556 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. | ||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ConnectionFromClient.cpp | ||
| ConnectionFromClient.h | ||
| DatabaseConnection.cpp | ||
| DatabaseConnection.h | ||
| Forward.h | ||
| main.cpp | ||
| SQLClient.ipc | ||
| SQLServer.ipc | ||
| SQLStatement.cpp | ||
| SQLStatement.h | ||