[sqlalchemy-20] ``Engine`` class no longer inherits from ``Connectable``

Bug #2020114 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso

Bug Description

The class ``Engine`` no longer inherits from ``Connectable`` class. In order to execute a command, it is needed first to create a connection and then begin a transaction with this connection. The connection object (class ``Connection``) can execute a command if a transaction is open.

Tags: db
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/883521

Changed in neutron:
status: New → In Progress
tags: added: db
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/883521
Committed: https://opendev.org/openstack/neutron/commit/0b67da59c6d8843bab7bee87621990e0340ac9ec
Submitter: "Zuul (22348)"
Branch: master

commit 0b67da59c6d8843bab7bee87621990e0340ac9ec
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu May 18 03:33:10 2023 +0200

    [sqlalchemy-20] Open a connection to execute a command

    ``Engine`` class no longer inherits from ``Connectable``. In order to
    execute a SQL command, it is needed to start a connection and then
    being a transaction. At this point, it is possible to execute a
    command from the connection object.

    Closes-Bug: #2020114

    Change-Id: Id1dcf338bf04e6eef73cc447698ec6d2100abd96

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 23.0.0.0b3

This issue was fixed in the openstack/neutron 23.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.