[sqlalchemy] Re: Warning with MySQL

2007-03-10 Thread Michael Bayer

in at least version 0.3.5, it passes through whatever is after  
mysql_.  so mysql_engine will pass through ENGINE.

On Mar 10, 2007, at 6:51 AM, Rene Rattur wrote:

 table = Table('boo', metadata,
 Column('id', Integer, primary_key=True),
 mysql_engine='InnoDB')

 When sqlalchemy creates the table, MySQL generates a warning cause
 sqlalchemy is using TYPE='InnoDB' which is deprecated.
 It should be using ENGINE='InnoDB'.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---



[sqlalchemy] Re: Warning with MySQL

2007-03-10 Thread Rene Rattur
Yeah I guess I'm running 0.3.3 or something, got to checkout the newest
version :)

On 3/10/07, Michael Bayer [EMAIL PROTECTED] wrote:


 in at least version 0.3.5, it passes through whatever is after
 mysql_.  so mysql_engine will pass through ENGINE.

 On Mar 10, 2007, at 6:51 AM, Rene Rattur wrote:

  table = Table('boo', metadata,
  Column('id', Integer, primary_key=True),
  mysql_engine='InnoDB')
 
  When sqlalchemy creates the table, MySQL generates a warning cause
  sqlalchemy is using TYPE='InnoDB' which is deprecated.
  It should be using ENGINE='InnoDB'.
 
  


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---