mirror of
https://github.com/MariaDB/server.git
synced 2025-07-08 17:02:21 +03:00
Allow storing "+456" then decimal declared unsigned
mysql-test/r/type_decimal.result: Change test results according to this sql/field.cc: Allow storing "+1234" in unsigned decimal as Monty asked. Old code is left for a while
This commit is contained in:
@ -199,15 +199,15 @@ select * from t1;
|
||||
a
|
||||
0.00
|
||||
0.00
|
||||
0.00
|
||||
01.00
|
||||
+0.00
|
||||
01.00
|
||||
+01.00
|
||||
0.00
|
||||
0.00
|
||||
0.10
|
||||
+0.10
|
||||
0.10
|
||||
00000001.00
|
||||
00000001.00
|
||||
+0000001.00
|
||||
0.00
|
||||
99999999.99
|
||||
99999999.99
|
||||
@ -316,9 +316,9 @@ select * from t1;
|
||||
a
|
||||
0
|
||||
0
|
||||
1
|
||||
+1
|
||||
01
|
||||
0000000001
|
||||
+000000001
|
||||
1234567890
|
||||
9999999999
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user