diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-15 01:45:51 +0900 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2017-02-06 22:41:44 -0700 |
commit | 28977f1fa3d7b15c1608174a165e60b71ddf3995 (patch) | |
tree | 9aab1ec695f9c01b6be74e95b73230946624e893 /actioncable/test/stubs | |
parent | 968e66b5df92e5ae88c033dc552e17b4c736874b (diff) | |
download | rails-28977f1fa3d7b15c1608174a165e60b71ddf3995.tar.gz rails-28977f1fa3d7b15c1608174a165e60b71ddf3995.tar.bz2 rails-28977f1fa3d7b15c1608174a165e60b71ddf3995.zip |
Remove useless `column_alias` in `subquery_for_count`
If select clause is specified and last column has a column alias,
additional column alias causes a statement invalid.
Add test coverage for counting a single column with NULL values.
Fixes #27676, #27682, and #27705.
Diffstat (limited to 'actioncable/test/stubs')
0 files changed, 0 insertions, 0 deletions