Skip to content

quack_init() using deprecated API #103

@djziegler

Description

@djziegler

quack_init is calling DuckDB.LoadExtension(), which is documented suchly:

// DEPRECATED function that some extensions may still use to call their own Load method from the
// _init function of their loadable extension. Don't use this. Instead opt for a static LoadInternal function called
// from both the _init function and the Extension::Load. (see autocomplete extension)
// TODO: when to remove this function?

So the body of quack_init should just be a call to the LoadInternal function already implemented in the same file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions