File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -188,4 +188,14 @@ public function setIsolationLevel($level)
188188 Yii::trace ('Setting transaction isolation level to ' . $ level , __METHOD__ );
189189 $ this ->db ->getSchema ()->setTransactionIsolationLevel ($ level );
190190 }
191+
192+ /**
193+ * @return integer The current nesting level of the transaction.
194+ * @since 2.0.8
195+ */
196+ public function getLevel ()
197+ {
198+ return $ this ->_level ;
199+ }
200+
191201}
Original file line number Diff line number Diff line change @@ -120,6 +120,10 @@ public function testBindParamValue()
120120 $ this ->
assertEquals (
'[email protected] ' ,
$ command->
queryScalar ());
121121 }
122122
123+ /**
124+ * Test whether param binding works in other places than WHERE
125+ * @dataProvider paramsNonWhereProvider
126+ */
123127 public function testBindParamsNonWhere ($ sql )
124128 {
125129 $ this ->markTestSkipped ('firebird does not support parameter in function ' );
You can’t perform that action at this time.
0 commit comments