← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1378968] Re: Metadef schema column name is a reserved word in MySQL

 

Reviewed:  https://review.openstack.org/127317
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=f259cac74d3e988b4012dcc2abd30091df27f5ce
Submitter: Jenkins
Branch:    proposed/juno

commit f259cac74d3e988b4012dcc2abd30091df27f5ce
Author: Wayne Okuma <wayne.okuma@xxxxxx>
Date:   Wed Oct 8 08:17:20 2014 -0700

    Metadef schema column name is a reserved word in MySQL
    
    The metadef_properties and metadef_objects tables both have
    a column named schema. Unfortunately, schema is a reserved word
    in some relational database products, including MySQL and PostgreSQL.
    The metadef_properties.schema and metadef_objects.schema
    columns should be renamed to a non reserved word.
    
    Conflicts:
    	glance/db/sqlalchemy/metadata.py
    	glance/tests/unit/test_migrations.py
    
    Change-Id: I9c1b497d2b09b9282a83bd8c19c32edfa4dd159f
    Closes-Bug: 1378968


** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1378968

Title:
  Metadef schema column name is a reserved word in MySQL

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  The metadef_properties and metadef_objects tables both have a column
  named schema. Unfortunately, schema is a reserved word in some
  relational database products, including MySQL and PostgreSQL. The
  metadef_properties.schema and metadef_objects.schema columns should be
  renamed to a non reserved word.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1378968/+subscriptions


References