protected function getSequenceName($tableInfo, $src)
{
$matches = array();
if (preg_match('/nextval\\([^\']*\'([^\']+)\'[^\\)]*\\)/i', $src, $matches)) {
if (is_int(strpos($matches[1], '.'))) {
return $matches[1];
} else {
return $tableInfo->getSchemaName() . '.' . $matches[1];
}
}
}