--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27 +++ parser3/www/htdocs/Attic/_bug.html 2004/10/07 09:23:44 1.69 @@ -1,10 +1,10 @@ -$request:charset[koi8-r] -$response:charset[windows-1251] - -$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251] -#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here] -#^bpt[] -^connect[$SQL.connect-string]{ - ^string:sql{select question from faq}[$.limit(1)] +^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}
} -OK