Commit 1cc0c764 authored by doctrine's avatar doctrine

--no commit message

--no commit message
parent c435286e
......@@ -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]))
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment