Changes between Initial Version and Version 1 of Ticket #17762, comment 7
- Timestamp:
- Mar 12, 2012, 4:23:17 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17762, comment 7
initial v1 22 22 > The base `test_db_signature()` distinguishes unique databases by the combination of `ENGINE`, `NAME`, etc. SQLite databases are distinguished by `NAME` except for `':memory:'` and `''` (on-disk temporary DB) which are unique per-connection even if the `NAME` is the same as another connection. I figured `id(self.connection)` accurately identifies unique databases in this case. Does it make sense with that explanation? 23 23 24 I understand that part. I was talking about the fact that the `name` variable is used without being defined before so the code broken.24 I understand that part. I was talking about the fact that the `name` variable is used without being defined before so the code is broken.