Susumu Yata
null+****@clear*****
Tue Jul 12 12:14:44 JST 2016
Susumu Yata 2016-07-12 12:14:44 +0900 (Tue, 12 Jul 2016) New Revision: 4e6d3098187fec1b968a756dc6a845407513da67 https://github.com/groonga/groonga/commit/4e6d3098187fec1b968a756dc6a845407513da67 Message: test: reproduce a rounding problem. GitHub: #581 Added files: test/command/suite/load/time/cast/float/round.expected test/command/suite/load/time/cast/float/round.test Added: test/command/suite/load/time/cast/float/round.expected (+11 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/load/time/cast/float/round.expected 2016-07-12 12:14:44 +0900 (c64717b) @@ -0,0 +1,11 @@ +table_create Logs TABLE_NO_KEY +[[0,0.0,0.0],true] +column_create Logs created_at COLUMN_SCALAR Time +[[0,0.0,0.0],true] +load --table Logs +[ +{"created_at": 0.000249} +] +[[0,0.0,0.0],1] +select Logs +[[0,0.0,0.0],[[[1],[["_id","UInt32"],["created_at","Time"]],[1,0.000249]]]] Added: test/command/suite/load/time/cast/float/round.test (+9 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/load/time/cast/float/round.test 2016-07-12 12:14:44 +0900 (48466ce) @@ -0,0 +1,9 @@ +table_create Logs TABLE_NO_KEY +column_create Logs created_at COLUMN_SCALAR Time + +load --table Logs +[ +{"created_at": 0.000249} +] + +select Logs -------------- next part -------------- HTML����������������������������... Download