[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 12584c1a661daf212feda0dfe0d396aaf7417d
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 12584c1a661daf212feda0dfe0d396aaf7417dea |
Date: |
Fri, 12 Jan 2007 21:18:16 +0100 |
-----------------------------------------------------------------
Revision: 12584c1a661daf212feda0dfe0d396aaf7417dea
Ancestor: cc101623f56b9fb63a1a7e667362f90b469f98b6
Author: address@hidden
Date: 2007-01-12T18:43:27
Branch: net.venge.monotone
Modified files:
ChangeLog database.cc database.hh schema_migration.cc
schema_migration.hh
ChangeLog:
* schema_migration.cc: Prune headers and using-declarations. Make
various things static and/or wrapped in the anonymous namespace.
(struct migrator): Delete.
(migrator_cb): Move definition to just above first use.
(struct migration_event, migration_events, n_migration_events)
(schema_to_migration, diagnose_unrecognized_schema, check_sql_schema):
New functions and data.
(migrate_monotone_schema): Put all the logic that used to be in
migrator::migrate here instead. Use two loops instead of one loop
and a state boolean, for clarity.
* schema_migration.hh: Prune headers. Forward-declare system_path.
Declare check_sql_schema. Adjust spacing.
* database.cc (database::database): Delete initialization of "schema".
(database::check_schema, close_all_databases): Delete.
(database::sql): Call check_sql_schema instead of check_schema.
* database.hh (database): Remove "schema" data-member and
check_schema function-member.
(close_all_databases): Delete declaration.
txtrbD2hEGWXa.txt
Description: Diff [cc101623f56b9fb63a1a7e667362f90b469f98b6] -> [12584c1a661daf212feda0dfe0d396aaf7417dea]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 12584c1a661daf212feda0dfe0d396aaf7417dea,
monotone <=