--- parser3/www/htdocs/Attic/_bug.html 2004/03/09 14:49:47 1.29
+++ parser3/www/htdocs/Attic/_bug.html 2004/06/22 14:15:57 1.50
@@ -1,27 +1,64 @@
@main[]
-$request:charset[windows-1251]
-$response:charset[windows-1251]
-$response:content-type[text/html]
-
-^if(def $form:param){
- ^$form:param=$form:param
-
- $several[$form:tables.several]
- ^$form:tables.several=^several.menu{
- $several.field
- }[,]
-}{
-
-$f[^file::load[text;http://parser3/_bug.html;
-# $.method[POST]
- $.form[
- $.param[pass=ed
+^connect[oracle://mts_imprimatur2:imp2@mts]{
+# ^in[]
+# ^out[]
+ ^inout[]
+ OK
+}
+
+@inp[]
+create table pif(a integer);
+create or replace procedure paf(a in integer) as begin
+insert into pif (a) values (:a);
+end;
+/
+
+@in[]
+# ^void:sql{create table paf(a clob)}
+# ^void:sql{insert into paf (a) values (/**a**/'a')}
+# ^void:sql{insert into paf (a) values (:unk)}
+ ^void:sql{delete from pif}
+ ^void:sql{call paf(:a)}[
+ $.bind[
+ $.a[2]
]
- $.several[^table::create[nameless]{1^#0A2}]
]
- $.any-status(1)
-]]
+ ^int:sql{select count(*) from pif}
+ "^string:sql{select a from pif}"
-=$f.text=
+# ^string:sql{select a from paf}
+
+@outp[]
+create or replace procedure pafm(ai in integer,ao out integer) as begin
+ao:=ai;
+end;
+/
+@out[]
+ $vars[
+ $.ai(2222)
+ $.ao[sad]
+ ]
+ ^void:sql{call pafm(:ai,:ao)}[
+ $.bind[$vars]
+ ]
+ "$vars.ai"
+ "$vars.ao"
+
+# ^string:sql{select a from paf}
+
+@inoutp[]
+create or replace procedure pafio(aio in out integer) as begin
+aio:=aio*2;
+end;
+/
+@inout[]
+ $vars[
+ $.aio(2222)
+ ]
+ before "$vars.aio"
+ ^void:sql{call pafio(:aio)}[
+ $.bind[$vars]
+ ]
+ after "$vars.aio"
-}
\ No newline at end of file
+# ^string:sql{select a from paf}