LibSQL: Remove unnecessary values from the ENUMERATE_SQL_TYPES macro

Removing the bitmask-esque values from the enumeration necessitates a
Heap version bump.
This commit is contained in:
Timothy Flynn 2022-12-11 17:15:45 -05:00 committed by Tim Flynn
commit 264db4fc40
Notes: sideshowbarker 2024-07-17 03:15:23 +09:00
3 changed files with 16 additions and 27 deletions

View file

@ -92,8 +92,8 @@ StringView Value::type_name() const
{
switch (type()) {
#undef __ENUMERATE_SQL_TYPE
#define __ENUMERATE_SQL_TYPE(name, cardinal, type, impl, size) \
case SQLType::type: \
#define __ENUMERATE_SQL_TYPE(name, type) \
case SQLType::type: \
return name##sv;
ENUMERATE_SQL_TYPES(__ENUMERATE_SQL_TYPE)
#undef __ENUMERATE_SQL_TYPE