Fix StructureFlags and achieve successful compilation

- Remove HasStaticPropertyTable flag from JSNodeSQLiteStatementSync (methods are on prototype)
- Build now compiles successfully without assertion failures
- node:sqlite module loads correctly
- StatementSync class and all prototype methods (run, get, all, iterate, finalize) are available
- Ready for integration with database implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Bot
2025-08-11 22:16:58 +00:00
parent a200522683
commit 77de08b51b

View File

@@ -15,7 +15,7 @@ class JSNodeSQLiteDatabaseSync;
class JSNodeSQLiteStatementSync final : public JSC::JSDestructibleObject {
public:
using Base = JSC::JSDestructibleObject;
static constexpr unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable;
static constexpr unsigned StructureFlags = Base::StructureFlags;
static JSNodeSQLiteStatementSync* create(JSC::VM& vm, JSC::Structure* structure, JSNodeSQLiteDatabaseSync* database, const String& sql);
static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype);