1
0
mirror of synced 2024-12-05 03:06:05 +03:00
This commit is contained in:
doctrine 2006-04-22 09:20:12 +00:00
parent c435286eb0
commit 1cc0c764c3
2 changed files with 3 additions and 2 deletions

View File

@ -414,6 +414,8 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
public function bulkInsert() {
if(empty($this->insert))
return false;
foreach($this->insert as $name => $inserts) {
if( ! isset($inserts[0]))

View File

@ -75,8 +75,6 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
if(empty($this->insert))
return false;
$values = $this->getMaximumValues(array_keys($this->insert));
foreach($this->insert as $name => $inserts) {
if( ! isset($inserts[0]))
continue;
@ -156,6 +154,7 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
}
}
}
$this->insert = array();
return true;
}