revert #1259
This commit is contained in:
@@ -346,7 +346,6 @@ func callbackRetText(ctx *C.sqlite3_context, v reflect.Value) error {
|
|||||||
return fmt.Errorf("cannot convert %s to TEXT", v.Type())
|
return fmt.Errorf("cannot convert %s to TEXT", v.Type())
|
||||||
}
|
}
|
||||||
cstr := C.CString(v.Interface().(string))
|
cstr := C.CString(v.Interface().(string))
|
||||||
defer C.free(unsafe.Pointer(cstr))
|
|
||||||
C._sqlite3_result_text(ctx, cstr)
|
C._sqlite3_result_text(ctx, cstr)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user