Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: make Row a concrete implementation. #96

Merged
merged 1 commit into from
Jan 13, 2017
Merged

Conversation

smola
Copy link
Contributor

@smola smola commented Jan 13, 2017

  • Row is now a slice instead of an interface.
  • MemoryRow is removed.

@smola smola added the enhancement New feature or request label Jan 13, 2017
@smola smola added this to the v0.4.0 milestone Jan 13, 2017
@smola smola self-assigned this Jan 13, 2017
@smola smola requested a review from ajnavarro January 13, 2017 14:02
@codecov-io
Copy link

codecov-io commented Jan 13, 2017

Current coverage is 61.01% (diff: 65.11%)

Merging #96 into master will decrease coverage by 0.29%

@@             master        #96   diff @@
==========================================
  Files            40         40          
  Lines          1657       1652     -5   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           1016       1008     -8   
- Misses          582        585     +3   
  Partials         59         59          

Powered by Codecov. Last update 48b4a0c...5444d85

* Row is now a slice instead of an interface.
* MemoryRow is removed.
@@ -15,7 +15,7 @@ func NewCount(e sql.Expression) *Count {
}

func (c *Count) NewBuffer() sql.Row {
return sql.NewMemoryRow(int32(0))
return sql.Row{sql.Value(int32(0))}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sql.NewRow(...

@smola smola merged commit 2bbc3bd into src-d:master Jan 13, 2017
@smola smola deleted the row-refactor branch January 13, 2017 16:30
dpordomingo pushed a commit to dpordomingo/gitbase that referenced this pull request Mar 10, 2017
* Row is now a slice instead of an interface.
* MemoryRow is removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants