Changeset: f5f1bf4f326e for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f5f1bf4f326e Modified Files: sql/test/BugTracker-2012/Tests/incorrect_cast_from_double_to_int.Bug-2579.stable.out Branch: Oct2012 Log Message:
approved output. Dividing 2 strings is simply not supported. Compiler just takes a division operator (and by bad luck) its the byte/byte version. Bug 2579 diffs (12 lines): diff --git a/sql/test/BugTracker-2012/Tests/incorrect_cast_from_double_to_int.Bug-2579.stable.out b/sql/test/BugTracker-2012/Tests/incorrect_cast_from_double_to_int.Bug-2579.stable.out --- a/sql/test/BugTracker-2012/Tests/incorrect_cast_from_double_to_int.Bug-2579.stable.out +++ b/sql/test/BugTracker-2012/Tests/incorrect_cast_from_double_to_int.Bug-2579.stable.out @@ -91,7 +91,7 @@ Ready. % sql_div_single_value # name % tinyint # type % 1 # length -[ 0.607 ] +[ 0 ] #SELECT '3.1'/5.1; % . # table_name % sql_div_single_value # name _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list