~free.ekanayaka/storm/any-expr

« back to all changes in this revision

Viewing changes to tests/store/mysql.py

Merge variable-referenceset-leak [r=niemeyer,jkakar]

Change the way MutableValueVariable hooks up to the store event system, by
overriding get and set. This works around a leak discovered when using
PickleVariable in a ReferenceSet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                           "ENGINE=InnoDB")
55
55
        connection.execute("CREATE TABLE bin "
56
56
                           "(id INT PRIMARY KEY AUTO_INCREMENT,"
57
 
                           " bin BLOB) "
 
57
                           " bin BLOB, foo_id INTEGER) "
58
58
                           "ENGINE=InnoDB")
59
59
        connection.execute("CREATE TABLE link "
60
60
                           "(foo_id INTEGER, bar_id INTEGER,"