server/test/data/migratedapp/bootstrap_cubes
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 27 Aug 2010 08:56:58 +0200
branchstable
changeset 6163 407f54345687
parent 2592 c97c4b56e6a0
child 10303 593e63a68429
permissions -rw-r--r--
[migration] fix add_relation_type() for symmetric relations To check if the corresponding SQL table has to created, CWRelationAddOp tests that the tablename is not in the 'createdtables' session variable (i.e. the table hasn't been created before in the same transaction) and that len(rschema.rdefs) is not greater to 1, that is the relation already existed in the database before this transaction. In case of symmetric relations, len(rschema).rdefs will be at least 2 since rdefs will store both (subj, obj) and (obj, subj) relation definitions.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1787
71c143c0ada3 fix test
sylvain.thenault@logilab.fr
parents: 17
diff changeset
     1
card,comment,folder,tag,basket,email,file