Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299235

GREATEST function does not behave equally in all database engines

$
0
0

Problem/Motivation

In SQL SERVER, the implementation of the GREATEST function doesn't handle data types other than 'real'. This is causing an issue as noted in https://drupal.org/node/1598924#comment-7495746.

Steps to reproduce

Set up a views that uses any of the affected comment field handlers.

Proposed resolution

Some handlers in the Views Comment submodule should be rewritten not to use GREATEST and use the universally compatible CASE WHEN clausule.

Remaining tasks

Review
RTBC
Commit

User interface changes

None.

API changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug: feature is broken on SQL Server.
Prioritized changesThe main goal of this issue is compatiblity.
DisruptionNon disruptive, change is very isolated.

Viewing all articles
Browse latest Browse all 299235

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>