Commit 286dfdeb authored by runa's avatar runa

added bogus getState function (needed to print $conn)

parent 0fb5f147
...@@ -120,5 +120,14 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common { ...@@ -120,5 +120,14 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common {
$args = func_get_args(); $args = func_get_args();
return "CONCAT(".implode(', ', $args).")"; return "CONCAT(".implode(', ', $args).")";
} }
/**
* returns the state of this connection
*
* @see Doctrine_Connection_Transaction::STATE_* constants
* @return integer the connection state
*/
public function getState() {
return 0; // @todo FIXME not working!
}
} }
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