contentstorage/castorage/conf/castoragedb.implml
changeset 119 50e220be30d1
parent 116 305818acdca4
--- a/contentstorage/castorage/conf/castoragedb.implml	Mon Sep 13 13:26:33 2010 +0300
+++ b/contentstorage/castorage/conf/castoragedb.implml	Mon Sep 20 10:22:22 2010 +0300
@@ -24,6 +24,8 @@
         </output>
         <output dir="temp/castoragedb/" file="castoragedb_variant.sql" encoding="UTF-8">
             <template file="castoragedb_templates/castoragedb_variant.sql"/>
+            <!-- lambda a: int((int(a,16)+2**31)%2**32-2**31) -->
+            <filter name="hex2dec">lambda a: int((int(a,16)+2147483648)%4294967296-2147483648)</filter>
         </output>
     </templateml>