svn #54753 - Set the default values for precision and scale for the real, float and double datatypes.
Hi Tariq,
I just set the default values for those datatypes. Give it a try. If it works good, let me know because we should retrofit this to v18.
Thanks, Tom
Hi Umesh,
Thanks for testing... Real is usually synonymous with float type. That is why I made the precision and scale the same as a float. In the case of MySQL, it can be either double or float depending on how MySQL is configured. From the documentation...
MySQL treats DOUBLE as a synonym for DOUBLE PRECISION (a nonstandard extension). MySQL also treats REAL as a synonym for DOUBLE PRECISION (a nonstandard variation), unless the REAL_AS_FLOAT SQL mode is enabled.
That said, Since the default is double, I will change the precision and scale for real to be the same as double.
V19 - svn #54902. V18 - svn #54903
Tom
Hi Umesh,
Thanks for testing... Real is usually synonymous with float type. That is why I made the precision and scale the same as a float. In the case of MySQL, it can be either double or float depending on how MySQL is configured. From the documentation...
MySQL treats DOUBLE as a synonym for DOUBLE PRECISION (a nonstandard extension). MySQL also treats REAL as a synonym for DOUBLE PRECISION (a nonstandard variation), unless the REAL_AS_FLOAT SQL mode is enabled.
That said, Since the default is double, I will change the precision and scale for real to be the same as double.
V19 - svn #54902. V18 - svn #54903
Tom
Issue #15320 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 19.0.0-alpha-62 & ADS 18.0.17-2 |
No time estimate |
svn #54753 - Set the default values for precision and scale for the real, float and double datatypes.
Hi Tariq,
I just set the default values for those datatypes. Give it a try. If it works good, let me know because we should retrofit this to v18.
Thanks, Tom