<pre style='margin:0'>
Umesh Singla (umeshksingla) pushed a commit to branch gsoc17-migrate
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/2b4fcb3f5ad0ca9fb468f3fc9bf685d529443bb3">https://github.com/macports/macports-base/commit/2b4fcb3f5ad0ca9fb468f3fc9bf685d529443bb3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2b4fcb3f5ad0ca9fb468f3fc9bf685d529443bb3
</span>Author: Umesh Singla <umeshksingla@macports.org>
AuthorDate: Wed Jun 21 23:12:17 2017 +0530
<span style='display:block; white-space:pre;color:#404040;'> Include snapshot.tcl in MakeFile
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also, change database index names to better avoid conflict
</span><span style='display:block; white-space:pre;color:#404040;'> with table names
</span>---
src/cregistry/.entry.c.swp | Bin 0 -> 16384 bytes
src/cregistry/sql.c | 8 ++++----
src/macports1.0/Makefile.in | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/cregistry/.entry.c.swp b/src/cregistry/.entry.c.swp
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..baa1b7f
</span>Binary files /dev/null and b/src/cregistry/.entry.c.swp differ
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/cregistry/sql.c b/src/cregistry/sql.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 944faab..06314e6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/cregistry/sql.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/cregistry/sql.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -208,7 +208,7 @@ int create_tables(sqlite3* db, reg_error* errPtr) {
</span> ", port_name TEXT COLLATE NOCASE"
", requested INTEGER"
", FOREIGN KEY(id) REFERENCES snapshots(id))",
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "CREATE INDEX registry.snapshot_ports ON snapshot_ports"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "CREATE INDEX registry.snapshot_port ON snapshot_ports"
</span> "(id, port_name)",
/* snapshot port variants table */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -218,7 +218,7 @@ int create_tables(sqlite3* db, reg_error* errPtr) {
</span> ", variant_name TEXT COLLATE NOCASE"
", variant_sign TEXT"
", FOREIGN KEY(id) REFERENCES snapshot_ports(id))",
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "CREATE INDEX registry.snapshot_port_variants ON snapshot_port_variants(id)",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "CREATE INDEX registry.snapshot_port_variant ON snapshot_port_variants(id)",
</span>
"COMMIT",
NULL
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -641,7 +641,7 @@ int update_db(sqlite3* db, reg_error* errPtr) {
</span> ", requested INTEGER"
", FOREIGN KEY(id) REFERENCES snapshots(id))",
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "CREATE INDEX registry.snapshot_ports ON snapshot_ports"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "CREATE INDEX registry.snapshot_port ON snapshot_ports"
</span> "(id, port_name)",
/* snapshot port variants table */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -651,7 +651,7 @@ int update_db(sqlite3* db, reg_error* errPtr) {
</span> ", variant_sign TEXT"
", FOREIGN KEY(id) REFERENCES snapshot_ports(id))",
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "CREATE INDEX registry.snapshot_port_variants ON snapshot_port_variants(id)",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "CREATE INDEX registry.snapshot_port_variant ON snapshot_port_variants(id)",
</span>
/* Update version and commit */
"UPDATE registry.metadata SET value = '1.203' WHERE key = 'version'",
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/Makefile.in b/src/macports1.0/Makefile.in
</span><span style='display:block; white-space:pre;color:#808080;'>index efff040..1e0b8c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/Makefile.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/Makefile.in
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ VPATH = @srcdir@
</span> include ../../Mk/macports.autoconf.mk
SRCS= macports.tcl macports_dlist.tcl macports_util.tcl \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- macports_autoconf.tcl diagnose.tcl reclaim.tcl selfupdate.tcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports_autoconf.tcl diagnose.tcl reclaim.tcl snapshot.tcl selfupdate.tcl
</span> OBJS= macports.o get_systemconfiguration_proxies.o sysctl.o
SHLIB_NAME= MacPorts${SHLIB_SUFFIX}
</pre><pre style='margin:0'>
</pre>