Changeset: 1a8d83cae2c4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1a8d83cae2c4
Modified Files:
sql/src/common/sql_types.mx
Branch: Oct2010
Log Message:
we don't have << and >> on real types.
hg hell continues (hgattic .... prevents single file commits..)
diffs (16 lines):
diff -r 58f8cb504db9 -r 1a8d83cae2c4 sql/src/common/sql_types.mx
--- a/sql/src/common/sql_types.mx Tue Sep 21 16:34:52 2010 +0200
+++ b/sql/src/common/sql_types.mx Wed Sep 22 12:43:16 2010 +0200
@@ -1490,8 +1490,10 @@
sql_create_func("bit_or", "calc", "or", *t, *t, *t, SCALE_FIX);
sql_create_func("bit_xor", "calc", "xor", *t, *t, *t,
SCALE_FIX);
sql_create_func("bit_not", "calc", "not", *t, NULL, *t,
SCALE_FIX);
- sql_create_func("left_shift", "calc", "<<", *t, INT, *t,
SCALE_FIX);
- sql_create_func("right_shift", "calc", ">>", *t, INT, *t,
SCALE_FIX);
+ if (t < floats) {
+ sql_create_func("left_shift", "calc", "<<", *t, INT,
*t, SCALE_FIX);
+ sql_create_func("right_shift", "calc", ">>", *t, INT,
*t, SCALE_FIX);
+ }
sql_create_func("sql_neg", "calc", "-", *t, NULL, *t, INOUT);
sql_create_func("sql_pos", "calc", "+", *t, NULL, *t, INOUT);
sql_create_func("abs", "calc", "abs", *t, NULL, *t, SCALE_FIX);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list