mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
commit
2d202d6aa3
2 changed files with 7 additions and 0 deletions
|
|
@ -414,6 +414,10 @@ func pgWriteResult(w pg.QueryResultWriter, result interface{}) error {
|
|||
}
|
||||
|
||||
return nil
|
||||
|
||||
case nil:
|
||||
return nil
|
||||
|
||||
default:
|
||||
return errors.Errorf("result type %T not yet supported", result)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,6 +127,9 @@ func (s *SelectHandler) execMappingResult(ctx context.Context, mr *MappingResult
|
|||
},
|
||||
},
|
||||
}
|
||||
case nil:
|
||||
result = pproto.ConstRowser{}
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported result type %T", res)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue