Closed maiadegraaf closed 6 months ago
Using the appender to insert BLOB types causes a segmentation fault. As I am currently working on the appender I would like to know how to proceed.
BLOB
func TestAppendBlob(t *testing.T) { c, err := NewConnector("", nil) require.NoError(t, err) db := sql.OpenDB(c) _, err = db.Exec(` CREATE TABLE test( blob BLOB )`) defer db.Close() conn, err := c.Connect(context.Background()) require.NoError(t, err) defer conn.Close() appender, err := NewAppenderFromConn(conn, "", "test") require.NoError(t, err) err:= appender.AppendRow( []byte{1}, ) require.NoError(t, err) err = appender.Close() require.NoError(t, err) }
See #150
Should be fixed by #150. :)
Using the appender to insert
BLOB
types causes a segmentation fault. As I am currently working on the appender I would like to know how to proceed.See #150