Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Dev: Issue with MSSQL and 0 or 0.1 or 0.001 (#1354)
Fixed issue #15684: MSSQL issue reloading decimal value Fixed issue #15685: Issue when exporting decimal value in MSSQL
- Loading branch information
1 parent
4ac5327
commit 2eb78e6
Showing
6 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2eb78e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For develop : move this to schema ? https://github.com/LimeSurvey/LimeSurvey/tree/master/application/core/db
Unsure Yii have a solution for getAttribute …
2eb78e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would that work?
2eb78e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean : here we have X times the same system for DECIMAL value
I like to move all to a singlle function, related to DB …
BUT : don't find the good place to extend CActiveRecord->getAttribute ? Unsure is the best …
Use onAfterFind in Response ans SurveyDynamic ?
2eb78e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best if it only affects the MSSQL abstraction layer.
2eb78e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSSQL for
.000000
and Mysql (maybe pgsql) for0.00000000
BUT : yii have abstraction layer for request condtruction, but not for result … result are … result done by DB , except of i made error ?