From: Jeremy S. <jer...@li...> - 2004-05-04 17:00:16
|
Hello, I may have discovered a bug in haskelldb. Here is a simplified version of the what is wrong -- I have not tested to see if the simplified version actually exhibits the bug. Lets say table A has a column 'name' and table B has a column 'name'. If I do something like: import qualified MyDatabase.A as A import qualified MyDatabase.B as B query = do a <- table A.a b <- table B.b project ( A.name << a!A.name # B.name << b!B.name ) If I use the results of the query, b!B.name gets a!A.name's value[1]. If I change the project to: project ( B.name << b!B.name # A.name << a!A.name ) Then the a!A.name gets b!B.name's value. [1] or maybe its the other way around, I don't remember. In any case, is this a know bug? Am I doing something wrong? If this simple case does not actually exhibit the behaviour I am seeing, I can do some additional testing and figure out the test case that does. I am using the nightly snapshot from 20040502. Thanks! Jeremy Shaw. -- This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender and delete the message. Thank you. |