mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
Think\Db\Driver类 删除queryID属性
oracle驱动类 添加parseLock方法
This commit is contained in:
@@ -157,4 +157,14 @@ class Oracle extends Driver{
|
||||
}
|
||||
return $limitStr?' WHERE '.$limitStr:'';
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置锁机制
|
||||
* @access protected
|
||||
* @return string
|
||||
*/
|
||||
protected function parseLock($lock=false) {
|
||||
if(!$lock) return '';
|
||||
return ' FOR UPDATE NOWAIT ';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user