ladybird/Userland/Libraries/LibSQL
Jelle Raaijmakers 70ca295404 LibSQL+SQLServer: Do not re-open databases
Both `Database` and `Heap` were allowed to be opened twice. Prevent
this, and change SQLServer to only open databases that are not already
opened.

This fixes a Ladybird crash where opening the application twice would
erroneously duplicate free heap block indices.
2023-06-13 16:33:42 -04:00
..
AST LibSQL: Handle statements with malformed exists expressions correctly 2023-04-25 08:32:21 -04:00
BTree.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
BTree.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
BTreeIterator.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Database.cpp LibSQL+SQLServer: Do not re-open databases 2023-06-13 16:33:42 -04:00
Database.h LibSQL: Free heap storage when deleting rows 2023-05-25 06:19:16 -07:00
Forward.h LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
HashIndex.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
HashIndex.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Heap.cpp LibSQL+SQLServer: Do not re-open databases 2023-06-13 16:33:42 -04:00
Heap.h LibSQL: Implement freeing heap storage 2023-05-25 06:19:16 -07:00
Index.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Index.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Key.cpp LibSQL: Introduce Serializer as a mediator between Heap and client code 2021-08-21 22:03:30 +02:00
Key.h LibSQL: Resolve cyclic dependency 2021-10-06 23:52:40 +01:00
Meta.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Meta.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Result.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Result.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
ResultSet.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
ResultSet.h LibSQL: Store selected column names in the results for SELECT statements 2023-02-03 20:34:45 +01:00
Row.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Row.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Serializer.cpp LibSQL: Clean up code style and remove unused includes 2023-04-23 18:08:17 -04:00
Serializer.h LibSQL: Add a note to Serializer about m_heap 2023-04-23 18:08:17 -04:00
SQLClient.cpp LibSQL: Block signals while forking SQLServer in Lagom 2023-03-28 09:18:50 +01:00
SQLClient.h LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
TreeNode.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Tuple.cpp LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
Tuple.h LibSQL: Use Block::Index everywhere; rename pointer to block_index 2023-04-23 18:08:17 -04:00
TupleDescriptor.h LibSQL: Clean up code style and remove unused includes 2023-04-23 18:08:17 -04:00
Type.h LibSQL: Rename Heap constants to match our code style 2023-04-23 18:08:17 -04:00
Value.cpp Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Value.h Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00