From: tierno Date: Fri, 26 Apr 2019 12:26:01 +0000 (+0000) Subject: bug 684: database order of interfaces are lost X-Git-Tag: v6.0.0~23 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F7426%2F1;p=osm%2FRO.git bug 684: database order of interfaces are lost Change-Id: Iad5d027ef77d7be5d48045150b81c6560694e602 Signed-off-by: tierno --- diff --git a/openmanod b/openmanod index 07d2a8e9..398d6853 100755 --- a/openmanod +++ b/openmanod @@ -50,8 +50,8 @@ import osm_ro __author__ = "Alfonso Tierno, Gerardo Garcia, Pablo Montes" __date__ = "$26-aug-2014 11:09:29$" -__version__ = "0.6.11" -version_date = "Mar 2019" +__version__ = "0.6.12" +version_date = "Apr 2019" database_version = 38 # expected database schema version global global_config diff --git a/osm_ro/db_base.py b/osm_ro/db_base.py index be681e37..e6e1134d 100644 --- a/osm_ro/db_base.py +++ b/osm_ro/db_base.py @@ -591,7 +591,7 @@ class db_base(): cmd= "INSERT INTO " + table +" SET " + \ ",".join(map(self.__tuple2db_format_set, INSERT.iteritems() )) if created_time: - cmd += ",created_at={time},modified_at={time}".format(time=created_time) + cmd += ",created_at={time:.9f},modified_at={time:.9f}".format(time=created_time) if confidential_data: index = cmd.find("SET") subcmd = cmd[:index] + 'SET...'