mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user