File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,7 @@ func (s *Stmt) ColumnValue(col int) Value {
649649// [FLOAT] as float64, [NULL] as nil,
650650// [TEXT] as string, and [BLOB] as []byte.
651651func (s * Stmt ) Columns (dest ... any ) error {
652+ defer s .c .arena .mark ()()
652653 types , ptr , err := s .columns (int64 (len (dest )))
653654 if err != nil {
654655 return err
@@ -701,6 +702,7 @@ func (s *Stmt) Columns(dest ...any) error {
701702// Any []byte are owned by SQLite and may be invalidated by
702703// subsequent calls to [Stmt] methods.
703704func (s * Stmt ) ColumnsRaw (dest ... any ) error {
705+ defer s .c .arena .mark ()()
704706 types , ptr , err := s .columns (int64 (len (dest )))
705707 if err != nil {
706708 return err
@@ -739,7 +741,6 @@ func (s *Stmt) ColumnsRaw(dest ...any) error {
739741}
740742
741743func (s * Stmt ) columns (count int64 ) ([]byte , ptr_t , error ) {
742- defer s .c .arena .mark ()()
743744 typePtr := s .c .arena .new (count )
744745 dataPtr := s .c .arena .new (count * 8 )
745746
You can’t perform that action at this time.
0 commit comments