Shim modernc.

This commit is contained in:
Nuno Cruces
2025-11-07 11:20:03 +00:00
parent 5e73c5d714
commit 5890049488
4 changed files with 42 additions and 1 deletions

View File

@@ -17,5 +17,7 @@ import (
var binary string
func init() {
sqlite3.Binary = unsafe.Slice(unsafe.StringData(binary), len(binary))
if sqlite3.Binary == nil {
sqlite3.Binary = unsafe.Slice(unsafe.StringData(binary), len(binary))
}
}