Changeset 5018
- Timestamp:
- 10/01/08 20:38:01 (9 months ago)
- Location:
- branches/1.1
- Files:
-
- 1 added
- 5 modified
-
lib/Doctrine.php (modified) (1 diff)
-
lib/Doctrine/Configurable.php (modified) (1 diff)
-
lib/Doctrine/Manager.php (modified) (1 diff)
-
lib/Doctrine/Query/Abstract.php (modified) (1 diff)
-
tests/run.php (modified) (1 diff)
-
tests/Ticket/1276TestCase.php (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/lib/Doctrine.php
r4950 r5018 197 197 const ATTR_USE_DQL_CALLBACKS = 164; 198 198 const ATTR_AUTO_ACCESSOR_OVERRIDE = 165; 199 const ATTR_AUTO_FREE_QUERY_OBJECTS = 166; 199 200 200 201 /** -
branches/1.1/lib/Doctrine/Configurable.php
r5000 r5018 183 183 case Doctrine::ATTR_USE_DQL_CALLBACKS; 184 184 case Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE; 185 case Doctrine::ATTR_AUTO_FREE_QUERY_OBJECTS; 185 186 186 187 break; -
branches/1.1/lib/Doctrine/Manager.php
r4869 r5018 104 104 Doctrine::ATTR_USE_DQL_CALLBACKS => false, 105 105 Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE => false, 106 Doctrine::ATTR_AUTO_FREE_QUERY_OBJECTS => false, 106 107 ); 107 108 foreach ($attributes as $attribute => $value) { -
branches/1.1/lib/Doctrine/Query/Abstract.php
r5014 r5018 1100 1100 } 1101 1101 } 1102 1102 if ($this->getConnection()->getAttribute(Doctrine::ATTR_AUTO_FREE_QUERY_OBJECTS)) { 1103 $this->free(); 1104 } 1103 1105 return $result; 1106 } 1107 1108 /** 1109 * Blank template method free(). Override to be used to free query object memory 1110 */ 1111 public function free() 1112 { 1104 1113 } 1105 1114 -
branches/1.1/tests/run.php
r5014 r5018 116 116 $tickets->addTestCase(new Doctrine_Ticket_1254_TestCase()); 117 117 $tickets->addTestCase(new Doctrine_Ticket_1257_TestCase()); 118 $tickets->addTestCase(new Doctrine_Ticket_1276_TestCase()); 118 119 $tickets->addTestCase(new Doctrine_Ticket_1277_TestCase()); 119 120 $tickets->addTestCase(new Doctrine_Ticket_1280_TestCase());