Merge lp:~chipaca/u1db/fail-on-dupe-indexes-homogeneously into lp:u1db
Proposed by
John Lenton
Status: | Merged |
---|---|
Approved by: | John Lenton |
Approved revision: | 297 |
Merged at revision: | 298 |
Proposed branch: | lp:~chipaca/u1db/fail-on-dupe-indexes-homogeneously |
Merge into: | lp:u1db |
Diff against target: |
131 lines (+30/-4) 7 files modified
include/u1db/u1db.h (+1/-0) src/u1db.c (+8/-2) u1db/backends/inmemory.py (+2/-0) u1db/backends/sqlite_backend.py (+6/-2) u1db/errors.py (+4/-0) u1db/tests/c_backend_wrapper.pyx (+3/-0) u1db/tests/test_backends.py (+6/-0) |
To merge this branch: | bzr merge lp:~chipaca/u1db/fail-on-dupe-indexes-homogeneously |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel (community) | Approve | ||
Review via email: mp+106506@code.launchpad.net |
Description of the change
create_index now fails with more or less the same error across all backends.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/20/2012 2:59 AM, John Lenton wrote: /code.launchpad .net/~chipaca/ u1db/fail- on-dupe- indexes- homogeneously/ +merge/ 106506
> John Lenton has proposed merging
> lp:~chipaca/u1db/fail-on-dupe-indexes-homogeneously into lp:u1db.
>
> Requested reviews: Ubuntu One hackers (ubuntuone-hackers)
>
> For more details, see:
> https:/
>
> create_index now fails with more or less the same error across all
> backends.
I'm happy to get consistency, but I believe that if the index being
created is identical to what is already there, we want it to be a
no-op and to pass. So create becomes sort of an "ensure".
In the immediate term, though, we could certainly land this for
consistency between backends.
John enigmail. mozdev. org/
=:->
review: approve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk+ 46EgACgkQJdeBCY SNAAPrXQCfQcqgG TusTQbpFHUu4v8P 7x4X j8Cp/KrTyzXvjXb 8k
2x8An2KvPX4cZTL
=doqB
-----END PGP SIGNATURE-----