@@ -918,7 +918,7 @@ func (i *loggingKeyValueIter) Close(ctx *sql.Context) error {
918918// projectRowWithTypes projects the row given with the projections given and additionally converts them to the
919919// corresponding types found in the schema given, using the standard type conversion logic.
920920func projectRowWithTypes (ctx * sql.Context , oldSchema , newSchema sql.Schema , projections []sql.Expression , r sql.Row ) (sql.Row , error ) {
921- newRow , err := ProjectRow (ctx , projections , r )
921+ newRow , err := ProjectRow (ctx , projections , r , nil )
922922 if err != nil {
923923 return nil , err
924924 }
@@ -1440,7 +1440,7 @@ func (i *addColumnIter) rewriteTable(ctx *sql.Context, rwt sql.RewritableTable)
14401440 return false , err
14411441 }
14421442
1443- newRow , err := ProjectRow (ctx , projections , r )
1443+ newRow , err := ProjectRow (ctx , projections , r , nil )
14441444 if err != nil {
14451445 _ = inserter .DiscardChanges (ctx , err )
14461446 _ = inserter .Close (ctx )
@@ -1736,7 +1736,7 @@ func (i *dropColumnIter) rewriteTable(ctx *sql.Context, rwt sql.RewritableTable)
17361736 return false , err
17371737 }
17381738
1739- newRow , err := ProjectRow (ctx , projections , r )
1739+ newRow , err := ProjectRow (ctx , projections , r , nil )
17401740 if err != nil {
17411741 _ = inserter .DiscardChanges (ctx , err )
17421742 _ = inserter .Close (ctx )
@@ -2240,7 +2240,7 @@ func buildIndex(ctx *sql.Context, n *plan.AlterIndex, ibt sql.IndexBuildingTable
22402240 }
22412241
22422242 if isVirtual {
2243- r , err = ProjectRow (ctx , projections , r )
2243+ r , err = ProjectRow (ctx , projections , r , nil )
22442244 if err != nil {
22452245 return err
22462246 }
@@ -2326,7 +2326,7 @@ func rewriteTableForIndexCreate(ctx *sql.Context, n *plan.AlterIndex, table sql.
23262326 }
23272327
23282328 if isVirtual {
2329- r , err = ProjectRow (ctx , projections , r )
2329+ r , err = ProjectRow (ctx , projections , r , nil )
23302330 if err != nil {
23312331 return err
23322332 }
0 commit comments