Skip to content

Commit

Permalink
Disabled the default nested configuration. MySQL use MyISAM as defaul…
Browse files Browse the repository at this point in the history
…t and it can affect many applications.
  • Loading branch information
jrbasso committed Apr 25, 2012
1 parent 4ffca84 commit f6288a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -76,7 +76,7 @@ class DboSource extends DataSource {
*
* @var boolean
*/
public $nestedTransaction = true;
public $nestedTransaction = false;

/**
* Print full query debug info?
Expand Down

2 comments on commit f6288a4

@ADmad
Copy link
Member

@ADmad ADmad commented on f6288a4 Apr 26, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally i would prefer the property name to be $useNestedTransactions

@jrbasso
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to follow the other variables name there, ie. $cacheMethods, $fullDebug, ... but I will change it.

Please sign in to comment.