File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
ruby/ql/lib/codeql/ruby/frameworks Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,14 @@ module Mysql2 {
3535 private DataFlow:: Node query ;
3636
3737 Mysql2Execution ( ) {
38- exists ( Mysql2Connection mysql2Connection , DataFlow :: CallNode prepareCall |
38+ exists ( Mysql2Connection mysql2Connection |
3939 this = mysql2Connection .getAMethodCall ( "query" ) and query = this .getArgument ( 0 )
4040 or
41- prepareCall = mysql2Connection .getAMethodCall ( "prepare" ) and
42- query = prepareCall .getArgument ( 0 ) and
43- this = prepareCall .getAMethodCall ( "execute" )
41+ exists ( DataFlow:: CallNode prepareCall |
42+ prepareCall = mysql2Connection .getAMethodCall ( "prepare" ) and
43+ query = prepareCall .getArgument ( 0 ) and
44+ this = prepareCall .getAMethodCall ( "execute" )
45+ )
4446 )
4547 }
4648
You can’t perform that action at this time.
0 commit comments