Modified: trunk/base/src/cregistry/sql.c (117437 => 117438)
--- trunk/base/src/cregistry/sql.c 2014-02-26 08:24:19 UTC (rev 117437)
+++ trunk/base/src/cregistry/sql.c 2014-02-26 08:32:42 UTC (rev 117438)
@@ -264,7 +264,11 @@
/* 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.100") < 0) {
+ /* There was a bug where the registry version was set as a float
+ * instead of a string on fresh installs, so some 1.100 registries
+ * will say 1.1. Fortunately, there were no other versions between
+ * 1.000 and 1.100. */
+ if (sql_version(NULL, -1, version, -1, "1.1") < 0) {
/* we need to update to 1.1, add binary field and index to files
* table */
static char* version_1_1_queries[] = {