Hi James,

James Bennett wrote:
> On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> A total newbie question here, but is there a way to specify the engine
>> I would prefer when defining models for applications. Would really
>> prefer MyISAM, but MySQL keeps creating InnoDB when the tables are
>> automatically created. (Reason: MyISAM supports full-text searching
>> whereas InnoDB doesn't).
> 
> You won't have to create tables manually, in one sense. However,
> you'll end up doing a bit of indirection; Django will happily output
> to a terminal the SQL it's going to execute to create the tables[1],
> so you can use that, edit it to specify the table type you want, and
> then source the file from inside MySQL.
> 
> Also, keep in mind that not using MyISAM means losing transactions.

Think you made a typo there or so..

MyISAM -> none transactional
InnoDB and NDBCluster (and BDB) -> transactional

Using InnoDB you can do transaction, using MyISAM not.

Cheers,

Geert

-- 
Geert Vanderkelen, Support Engineer
MySQL GmbH, Germany, www.mysql.com

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

Reply via email to