Diff for /parser3/tests/388-sql.html between versions 1.13 and 1.17

version 1.13, 2019/12/06 22:47:01 version 1.17, 2024/09/28 08:42:09
Line 28  $ignore[^SQL.drivers.locate[protocol;$sq Line 28  $ignore[^SQL.drivers.locate[protocol;$sq
         2.2 ^void:sql{insert into pets values          2.2 ^void:sql{insert into pets values
                 ('cat', 'milk', '^taint['very']', 5),                  ('cat', 'milk', '^taint['very']', 5),
                 ('dog', 'bone', '^taint["never"]', 10),                  ('dog', 'bone', '^taint["never"]', 10),
                   ('hamster', 'grain', null, 1),
                 ('parrot', 'grain', 'alwayws', 1)                  ('parrot', 'grain', 'alwayws', 1)
            }             }
   
Line 69  $ignore[^SQL.drivers.locate[protocol;$sq Line 70  $ignore[^SQL.drivers.locate[protocol;$sq
   
         4.6 ^try-catch{ ^h[select 'dup', pet from pets; $.type[string] ]}          4.6 ^try-catch{ ^h[select 'dup', pet from pets; $.type[string] ]}
   
           4.7 ^h[select pet from pets]
   
           4.7.1 ^h[select aggressive from pets; $.type[table] ]
   
           4.8 ^h[select food as key, pet from pets; $.type[table] $.distinct(true) ]
   
           4.9 ^h[select food as key, pet from pets; $.type[string] $.distinct(true) ]
   
   
         5. table          5. table
   
Line 91  $ignore[^SQL.drivers.locate[protocol;$sq Line 100  $ignore[^SQL.drivers.locate[protocol;$sq
   
         6.4 ^try-catch{ ^f[select aggressive from pets; $.limit(0) ] }          6.4 ^try-catch{ ^f[select aggressive from pets; $.limit(0) ] }
   
         6.5 ^try-catch{ ^f[select 1 from pets] } - bug!          6.5 ^try-catch{ ^f[select 1 from pets; $.limit(3) ] } - bug!
   
         6.6 ^try-catch{ ^f[select 1,2 from pets] }          6.6 ^try-catch{ ^f[select 1,2 from pets] }
   
Line 125  $ignore[^SQL.drivers.locate[protocol;$sq Line 134  $ignore[^SQL.drivers.locate[protocol;$sq
 @s[query;options]  @s[query;options]
         $s[^string:sql{$query}[$options]]          $s[^string:sql{$query}[$options]]
         "$s"          "$s"
   
   @postprocess[text]
           $result[^taint[as-is;$text]]

Removed from v.1.13  
changed lines
  Added in v.1.17


E-mail: