[117414] trunk/base/src/cregistry/sql.c

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Feb 25 14:45:34 PST 2014


I just updated to 117418, and sadness...

$ sudo port -v -s upgrade
sqlite error: duplicate column name: binary (1) while executing query: ALTER TABLE registry.files ADD COLUMN binary BOOL
    while executing
"registry::open $db_path"
    (procedure "mportinit" line 624)
    invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: duplicate column name: binary (1) while executing query: ALTER TABLE registry.files ADD COLUMN binary BOOL

On Feb 25, 2014, at 12:31, jmr at macports.org wrote:

> Revision
> 117414
> Author
> jmr at macports.org
> Date
> 2014-02-25 12:31:16 -0800 (Tue, 25 Feb 2014)
> Log Message
> 
> re-revert reverted reversion
> Modified Paths
> 
> 	• trunk/base/src/cregistry/sql.c
> Diff
> 
> Modified: trunk/base/src/cregistry/sql.c (117413 => 117414)
> 
> --- trunk/base/src/cregistry/sql.c	2014-02-25 20:30:35 UTC (rev 117413)
> +++ trunk/base/src/cregistry/sql.c	2014-02-25 20:31:16 UTC (rev 117414)
> 
> @@ -264,7 +264,7 @@
> 
>  
> 
>          /* we can't call vercmp directly because it's static, but we have
> 
>           * sql_version, which is basically an alias */
> 
> -        if (sql_version(NULL, -1, version, -1, "1.1") < 0) {
> 
> +        if (sql_version(NULL, -1, version, -1, "1.100") < 0) {
> 
>              /* we need to update to 1.1, add binary field and index to files
> 
>               * table */
> 
>              static char* version_1_1_queries[] = {
> 
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-changes



More information about the macports-dev mailing list