* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
* @param string $key type of key
* @param value $default default value
* @param value $extra unused
* @param string $key type of key
* @param value $default default value
* @param value $extra unused
function __construct($name=null, $type=null, $size=null,
$nullable=true, $key=null, $default=null,
$extra=null, $auto_increment=false)
function __construct($name=null, $type=null, $size=null,
$nullable=true, $key=null, $default=null,
$extra=null, $auto_increment=false)
private function _defaultMatch($other)
{
return ((is_null($this->default) && is_null($other->default)) ||
private function _defaultMatch($other)
{
return ((is_null($this->default) && is_null($other->default)) ||
private function _nullMatch($other)
{
return ((!is_null($this->default) && !is_null($other->default) &&
private function _nullMatch($other)
{
return ((!is_null($this->default) && !is_null($other->default) &&