8000 add test for SQL dollar signs · rubychan/coderay-scanner-tests@0862e7f · GitHub
[go: up one dir, main page]

Skip to content

Commit 0862e7f

Browse files
committed
add test for SQL dollar signs
1 parent 07a3f5e commit 0862e7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sql/dollar-signs.expected.raydebug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
class(select) ident(value)operator(/)integer(1000) keyword(from) ident(v$sesstat) ident(se)operator(,)ident(v$statname) ident(sn) keyword(where) ident(se)operator(.)ident(STATISTIC)comment(# = sn.STATISTIC# and sn.name = 'CPU used by this session' and se.SID=ss.SID)

sql/dollar-signs.in.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
select value/1000 from v$sesstat se,v$statname sn where se.STATISTIC# = sn.STATISTIC# and sn.name = 'CPU used by this session' and se.SID=ss.SID

0 commit comments

Comments
 (0)
0