You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
string stm query only support float 10^-16...not support full decimal value..
// ok
select (0.2676120186162537123456789+0.267612018616253712345678912312312312312312312312312123) as field22
// fail
//select (0.2676120186162537123456789+'0.267612018616253712345678912312312312312312312312312123') as field22
// tip: quote the number to string number, will lose accracy
// fail
select (0.2676120186162537123456789+?) as field22
arg1:="0.267612018616253712345678912312312312312312312312312123"//
Same with update,insert and more sql command...
Because field type is string , not NewDecimal type or good type when send packet stm binary
so... maybe add a draft proposal golang/go#30870DecimalDecompose type to write custom field type value to mysql stm.
string stm query only support float 10^-16...not support full decimal value..
Same with update,insert and more sql command...
Because field type is string , not NewDecimal type or good type when send packet stm binary
so... maybe add a draft proposal golang/go#30870 DecimalDecompose type to write custom field type value to mysql stm.
#985 #986
Or use some custom method?
The text was updated successfully, but these errors were encountered: