/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 425 by bh, Wed Nov 24 16:33:14 2010 UTC revision 426 by bh, Wed Nov 24 16:58:10 2010 UTC
# Line 1  Line 1 
1  2010-11-24  Bernhard Herzog  <[email protected]>  2010-11-24  Bernhard Herzog  <[email protected]>
2    
3            * formed/formed/plugins/export/rules_sh.py (binary_operator_map):
4            New.  Map binary formed expr operators to their SQL counterparts.
5            (sql_OperatorBinary): Use binary_operator_map instead of a cascade
6            of if-statements with lots of code duplication.  Also, put
7            parentheses around the resulting SQL expression to make sure the
8            expression is correctly.  This fixes a problem with WASKO tagging
9            rules, where the a FormEd expression of the form like "2 1 1980
10            date 1 1 1980 date - 93 *" would be incorrectly converted to the
11            SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date"
12    
13    2010-11-24  Bernhard Herzog  <[email protected]>
14    
15          * formed/formed/plugins/export/rules_sh.py: Fix formatting.          * formed/formed/plugins/export/rules_sh.py: Fix formatting.
16    
17  2010-11-15  Torsten Irlaender <[email protected]>  2010-11-15  Torsten Irlaender <[email protected]>

Legend:
Removed from v.425  
changed lines
  Added in v.426

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26