monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision ee23e6a13f4bdee58205355b30fe281fd2d09c


From: monotone
Subject: [Monotone-commits-diffs] Revision ee23e6a13f4bdee58205355b30fe281fd2d09cff
Date: Sun, 14 Jan 2007 10:04:32 +0100

-----------------------------------------------------------------
Revision: ee23e6a13f4bdee58205355b30fe281fd2d09cff
Ancestor: 27c13eaf5735c0a2ee5d3727fe19119268ce5ec3
Author: address@hidden
Date: 2007-01-14T03:44:35
Branch: net.venge.monotone

Added files:
        tests/schema_migration_error_recovery/__driver__.lua
        tests/schema_migration_error_recovery/bad_base64.dump
Added directories:
        tests/schema_migration_error_recovery
Modified files:
        ChangeLog schema_migration.cc testsuite.lua

ChangeLog: 

        * schema_migration.cc: Replace logged_sqlite3_* with a new, tidier
        class-based API.  (logged_sqlite3_exec remains for transitional
        purposes.)  Globally change "sql" local variables to "db" to avoid
        conflict with new "sql" class. Introduce RAII class to ensure that
        database rollback happens when necessary.  Report errors with
        exceptions (migrator functions have not been fully updated for this).
        Take the database lock at the beginning of migrate_monotone_schema,
        not after calculating migration steps.  Trap Botan errors in
        sqlite3_unbase64_fn.  Give helpful additional message for more
        sqlite error codes.
        * tests/schema_migration_error_recovery: New test.
        * testsuite.lua: Update.

Attachment: txtFquiO9CIWU.txt
Description: Diff [27c13eaf5735c0a2ee5d3727fe19119268ce5ec3] -> [ee23e6a13f4bdee58205355b30fe281fd2d09cff]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]