同步时不限制时间
This commit is contained in:
parent
3e18b42f90
commit
56f51c09f4
|
@ -21,6 +21,7 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
//提供双向同步功能,但只处理ISO 19115格式的元数据?
|
//提供双向同步功能,但只处理ISO 19115格式的元数据?
|
||||||
function syncAction()
|
function syncAction()
|
||||||
{
|
{
|
||||||
|
set_time_limit(0);
|
||||||
$sql="select * from (select count(*) as westdccount from metadata) as t1,(select count(uuid) as gncount from geonetworkmetadata where schemaid='iso19115') as t2,(select count(uuid) as watergncount from watergn where schemaid='iso19115') as t3";
|
$sql="select * from (select count(*) as westdccount from metadata) as t1,(select count(uuid) as gncount from geonetworkmetadata where schemaid='iso19115') as t2,(select count(uuid) as watergncount from watergn where schemaid='iso19115') as t3";
|
||||||
$this->db->setFetchMode(Zend_Db::FETCH_OBJ);
|
$this->db->setFetchMode(Zend_Db::FETCH_OBJ);
|
||||||
$this->view->mdcount=$this->db->fetchRow($sql);
|
$this->view->mdcount=$this->db->fetchRow($sql);
|
||||||
|
|
Loading…
Reference in New Issue