Changeset: 67593935d31e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=67593935d31e
Modified Files:
        MonetDB5/src/optimizer/opt_datacyclotron.mx
Branch: default
Log Message:

We should ignore differences in case.
The registration catalog should be used independently of the case used, i.e., 
lower or upper case characters.


diffs (16 lines):

diff -r 48bf8dbc0a80 -r 67593935d31e MonetDB5/src/optimizer/opt_datacyclotron.mx
--- a/MonetDB5/src/optimizer/opt_datacyclotron.mx       Wed Nov 24 10:20:59 
2010 +0100
+++ b/MonetDB5/src/optimizer/opt_datacyclotron.mx       Tue Nov 23 12:02:27 
2010 +0100
@@ -226,9 +226,9 @@
        reg = catalog;
        
        while(reg && !(
-                (strcmp(reg->schema, sch) == 0) &&
-                (strcmp(reg->table, tab) == 0) &&
-                (strcmp(reg->column, col) == 0) &&
+                (strcasecmp(reg->schema, sch) == 0) &&
+                (strcasecmp(reg->table, tab) == 0) &&
+                (strcasecmp(reg->column, col) == 0) &&
                 reg->access == acc
         )) {
                 reg = reg->next;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to