mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Support blob types in query arguments for Go bindings
This commit is contained in:
parent
4af6eb2f71
commit
d9966d2dc8
6 changed files with 60 additions and 73 deletions
|
@ -35,7 +35,7 @@ func loadLibrary() error {
|
|||
for _, path := range paths {
|
||||
libPath := filepath.Join(path, libraryName)
|
||||
if _, err := os.Stat(libPath); err == nil {
|
||||
slib, dlerr := purego.Dlopen(libPath, purego.RTLD_LAZY)
|
||||
slib, dlerr := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
|
||||
if dlerr != nil {
|
||||
return fmt.Errorf("failed to load library at %s: %w", libPath, dlerr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue