1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 18:15:07 +00:00
serenity/Userland/Libraries/LibSQL
Timothy Flynn e2f71d2808 LibSQL+SQLServer+SQLStudio+sql: Use proper types for SQL IPC and IDs
When storing IDs and sending values over IPC, this changes SQLServer to:

1. Stop using -1 as a nominal "bad" ID. Store the IDs as unsigned, and
   use Optional in the one place that the IPC needs to indicate an ID
   was not allocated.

2. Let LibIPC encode/decode enumerations (SQLErrorCode) on our behalf.

3. Use size_t for array sizes.
2022-12-07 13:09:00 +01:00
..
AST LibSQL: Parse and execute sequential placeholder values 2022-12-07 13:09:00 +01:00
BTree.cpp LibSQL: Fix BTree corruption in TreeNode::split 2022-11-26 09:15:34 +01:00
BTree.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
BTreeIterator.cpp LibSQL: Fix BTree corruption in TreeNode::split 2022-11-26 09:15:34 +01:00
CMakeLists.txt LibSQL: Partially implement the UPDATE command 2022-12-07 13:09:00 +01:00
Database.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Database.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Forward.h LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
HashIndex.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
HashIndex.h Everywhere: Remove redundant inequality comparison operators 2022-11-06 10:25:08 -07:00
Heap.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Heap.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Index.cpp LibSQL: Add missing header includes 2022-10-14 17:47:44 +03:30
Index.h LibSQL: Add missing header includes 2022-10-14 17:47:44 +03:30
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 Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Meta.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Result.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Result.h LibSQL: Parse and execute sequential placeholder values 2022-12-07 13:09:00 +01:00
ResultSet.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
ResultSet.h LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
Row.cpp LibSQL: Store a NonnullRefPtr to the table definition in SQL::Row 2022-11-30 11:43:13 +01:00
Row.h LibSQL: Store a NonnullRefPtr to the table definition in SQL::Row 2022-11-30 11:43:13 +01:00
Serializer.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Serializer.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SQLClient.cpp LibSQL+SQLServer+SQLStudio+sql: Use proper types for SQL IPC and IDs 2022-12-07 13:09:00 +01:00
SQLClient.h LibSQL+SQLServer+SQLStudio+sql: Use proper types for SQL IPC and IDs 2022-12-07 13:09:00 +01:00
TreeNode.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Tuple.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Tuple.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
TupleDescriptor.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Type.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Value.cpp LibSQL: Add an IPC encoder/decoder for SQL::Value 2022-12-07 13:09:00 +01:00
Value.h LibSQL: Add an IPC encoder/decoder for SQL::Value 2022-12-07 13:09:00 +01:00