Loading transfer_service/db_connector.py +2 −2 Original line number Diff line number Diff line Loading @@ -43,8 +43,8 @@ class DbConnector(object): out.write(f"parentPath: {node.parentPath}\n\n") out.close() #print(f"parentLtreePath: {parentLtreePath}, type: {type(parentLtreePath)}") self.cursor.execute("INSERT INTO Node(parent_path, name, type, owner_id, creator_id, content_md5) VALUES (%s, %s, %s, %s, %s, %s);", (parentLtreePath, node.name, node.type, node.ownerID, node.creatorID, node.contentMD5,)) self.cursor.execute("INSERT INTO Node(parent_path, parent_relative_path, name, type, owner_id, creator_id, content_md5) VALUES (%s, %s, %s, %s, %s, %s, %s);", (parentLtreePath, parentLtreePath, node.name, node.type, node.ownerID, node.creatorID, node.contentMD5,)) self.conn.commit() def selectNode(self): Loading file_catalog/00-init.sql +26 −26 File changed.Contains only whitespace changes. Show changes Loading
transfer_service/db_connector.py +2 −2 Original line number Diff line number Diff line Loading @@ -43,8 +43,8 @@ class DbConnector(object): out.write(f"parentPath: {node.parentPath}\n\n") out.close() #print(f"parentLtreePath: {parentLtreePath}, type: {type(parentLtreePath)}") self.cursor.execute("INSERT INTO Node(parent_path, name, type, owner_id, creator_id, content_md5) VALUES (%s, %s, %s, %s, %s, %s);", (parentLtreePath, node.name, node.type, node.ownerID, node.creatorID, node.contentMD5,)) self.cursor.execute("INSERT INTO Node(parent_path, parent_relative_path, name, type, owner_id, creator_id, content_md5) VALUES (%s, %s, %s, %s, %s, %s, %s);", (parentLtreePath, parentLtreePath, node.name, node.type, node.ownerID, node.creatorID, node.contentMD5,)) self.conn.commit() def selectNode(self): Loading