git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204a547
)
example connects to IS, inserts two attrs via updateJob and then get it back via...
author
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 14 Oct 2005 13:17:00 +0000
(13:17 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 14 Oct 2005 13:17:00 +0000
(13:17 +0000)
org.glite.jp.index/examples/jpis-test.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.index/examples/jpis-test.c
b/org.glite.jp.index/examples/jpis-test.c
index
86a1451
..
4011d80
100644
(file)
--- a/
org.glite.jp.index/examples/jpis-test.c
+++ b/
org.glite.jp.index/examples/jpis-test.c
@@
-106,7
+106,7
@@
int main(int argc,char *argv[])
goto end;
}
- if (glite_jp_db_execstmt(
is
ctx,
+ if (glite_jp_db_execstmt(ctx,
INSERT, &stmt) < 0) goto end;
end:
glite_jpis_free_context(isctx);
@@
-123,6
+123,7
@@
int main(int argc,char *argv[])
{
rec = soap_malloc(soap, sizeof(*rec));
rec->jobid = soap_strdup(soap, "https://localhost:7846/pokus");
+ rec->owner = soap_strdup(soap, "OwnerName");
rec->__sizeprimaryStorage = 0;
rec->primaryStorage = NULL;
rec->__sizeattributes = 2;