Action: \->()
E:/www/ypmvc/3.0/cmd/cmdLibs/lib/pdoHelper.php Line: 88
[1] Maximum execution time of 30 seconds exceeded
({:line}) mvc::rare_shutdown_catch_error_debug( )
77 private function command(string $type, string $sql) 78 { 79 if ($this->hasTriggerRollBack){ 80 //如果标记了事务回滚,不再执行SQL 81 return $this; 82 } 83 $this->connect(); 84 $this->lastSql = $sql; 85 $this->statement = false; 86 try { 87 if ($type=='query'){
88 $this->statement = $this->pdo->query($sql);
89 }else { 90 //$type=exec 直接返回受影响的行数 91 return $this->pdo->exec($sql); 92 } 93 } catch (\PDOException $e) { 94 $this->hasError = true; 95 if ($this->tranStartMethod!=''){ 96 $this->pdo->rollBack(); 97 } 98 $this->log($e->getMessage()); 99 }
Request: