mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 16:42:12 +00:00
LibSQL: Remove unused SQL::Row constructors/methods
This commit is contained in:
parent
4b70908dc4
commit
5336f23c7e
2 changed files with 0 additions and 31 deletions
|
@ -6,21 +6,9 @@
|
|||
|
||||
#include <LibSQL/Meta.h>
|
||||
#include <LibSQL/Row.h>
|
||||
#include <LibSQL/Serializer.h>
|
||||
#include <LibSQL/Tuple.h>
|
||||
|
||||
namespace SQL {
|
||||
|
||||
Row::Row()
|
||||
: Tuple()
|
||||
{
|
||||
}
|
||||
|
||||
Row::Row(TupleDescriptor const& descriptor)
|
||||
: Tuple(descriptor)
|
||||
{
|
||||
}
|
||||
|
||||
Row::Row(RefPtr<TableDef> table, u32 pointer)
|
||||
: Tuple(table->to_tuple_descriptor())
|
||||
, m_table(table)
|
||||
|
@ -28,12 +16,6 @@ Row::Row(RefPtr<TableDef> table, u32 pointer)
|
|||
set_pointer(pointer);
|
||||
}
|
||||
|
||||
Row::Row(RefPtr<TableDef> table, u32 pointer, Serializer& serializer)
|
||||
: Row(move(table), pointer)
|
||||
{
|
||||
Row::deserialize(serializer);
|
||||
}
|
||||
|
||||
void Row::deserialize(Serializer& serializer)
|
||||
{
|
||||
Tuple::deserialize(serializer);
|
||||
|
@ -46,10 +28,4 @@ void Row::serialize(Serializer& serializer) const
|
|||
serializer.serialize<u32>(next_pointer());
|
||||
}
|
||||
|
||||
void Row::copy_from(Row const& other)
|
||||
{
|
||||
Tuple::copy_from(other);
|
||||
m_next_pointer = other.next_pointer();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue