[openstack-dev] [oslo.db] [ndb] ndb namespace throughout openstack projects

Octave J. Orgeron octave.orgeron at oracle.com
Wed Jul 26 23:06:08 UTC 2017


Hi Michael,


On 7/26/2017 4:28 PM, Michael Bayer wrote:
>
> it at all.
> thinking out loud
>
> oslo_db.sqlalchemy.types.String(255, mysql_small_rowsize=64)
> oslo_db.sqlalchemy.types.String(255, mysql_small_rowsize=sa.TINYTEXT)
> oslo_db.sqlalchemy.types.String(255, mysql_small_rowsize=sa.TEXT)
>
>
> so if you don't have mysql_small_rowsize,  nothing happens.
>

I think the mysql_small_rowsize is a bit misleading since in one case we 
are changing the size and the others the type. Perhaps:

mysql_alt_size=64
mysql_alt_type=sa.TINYTEXT
mysql_alt_type=sa.TEXT

alt standing for alternate. What do you think?

Octave



More information about the OpenStack-dev mailing list