[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 914fa2e294c91736fd271ec350026b773873cb
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 914fa2e294c91736fd271ec350026b773873cb3d |
Date: |
Sun, 14 Jan 2007 10:04:33 +0100 |
-----------------------------------------------------------------
Revision: 914fa2e294c91736fd271ec350026b773873cb3d
Ancestor: 562ee2fccfeed514b143e64e0d93c223b84091ad
Author: address@hidden
Date: 2007-01-14T08:45:19
Branch: net.venge.monotone
Modified files:
ChangeLog schema_migration.cc
ChangeLog:
* schema_migration.cc (sql::exec): Process an entire sequence of
SQL statements.
(migrate_sql_schema, test_migration_step): Handle all-SQL
migrators (i.e. pass the strings to sql::exec).
(migrate_*): Where entirely composed of calls to sql::exec,
replace with a giant string constant containing all the SQL
statements in order.
(sql::sql): Support more than one statement per string.
(sql::column_nonnull): New.
(struct migration_event): Replace migrator field with migrator_sql
and migrator_func.
(migration_events): Put each entry's migrator in the appropriate field.
(schema_to_migration): Return a migration_event *, not an integer.
(migrate_to_external_privkeys): This is the only migration step
that still needs to be a function. Simplify by using a single
joined SELECT rather than copying everything into maps.
txtGYmTx0CZ4a.txt
Description: Diff [562ee2fccfeed514b143e64e0d93c223b84091ad] -> [914fa2e294c91736fd271ec350026b773873cb3d]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 914fa2e294c91736fd271ec350026b773873cb3d,
monotone <=