--- parser3/www/htdocs/Attic/_bug.html 2004/03/02 15:54:07 1.24
+++ parser3/www/htdocs/Attic/_bug.html 2004/10/07 09:23:44 1.69
@@ -1,16 +1,10 @@
-$request:charset[windows-1251]
-$response:charset[windows-1251]
-
-
-^connect[$SQL.connect-string]{
-#$f[^file::sql[_bug.dat]{select 2*2}]
-#^f.save[binary;$f.name] $f.name saved
-
-#$f[^file::sql{select 2*2, '_bug2.zip' }]
-#^f.save[binary;$f.name] $f.name $f.content-type saved
-
-$f[^file::sql{select 2*2, '_bug2.giffff', 'image/gif' }]
-^f.save[binary;$f.name] $f.name $f.content-type saved
-#$f[^file::load[binary;_bug.gif]]
-#=^f.sql-string[]=
+^connect[oracle://iagency:pwd@oracle]{
+ ^string:sql{select 2*2 from dual}
+ ^try{
+ ^string:sql{select 2*2x from dual}
+ }{
+ $exception.handled(1)
+ exception($exception.comment) handled
+ }
+ ^string:sql{select 2*2 from dual}
}