Changeset: 178f22a2e20d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=178f22a2e20d
Modified Files:
monetdb5/extras/jaql/Tests/json00.stable.out
monetdb5/extras/jaql/json.c
Branch: Oct2012
Log Message:
drop: fix error message
diffs (27 lines):
diff --git a/monetdb5/extras/jaql/Tests/json00.stable.out
b/monetdb5/extras/jaql/Tests/json00.stable.out
--- a/monetdb5/extras/jaql/Tests/json00.stable.out
+++ b/monetdb5/extras/jaql/Tests/json00.stable.out
@@ -45,9 +45,9 @@ end main;
[ "hello", "world" ]
[ { "key": "value", "key2": 5.300000 }, null, 4, true ]
[ { "from": 101, "to": [ 20, 81, 94 ], "ts": 1234567, "msg": "Hello world!" } ]
-!MALException:json.store:no such JSON object with name: demo
+!MALException:json.load:no such JSON object with name: demo
[ { "from": 101, "to": [ 20, 81, 94 ], "ts": 1234567, "msg": "Hello world!" } ]
-!MALException:json.store:no such JSON object with name: demo
+!MALException:json.load:no such JSON object with name: demo
# 11:20:37 >
# 11:20:37 > "Done."
diff --git a/monetdb5/extras/jaql/json.c b/monetdb5/extras/jaql/json.c
--- a/monetdb5/extras/jaql/json.c
+++ b/monetdb5/extras/jaql/json.c
@@ -991,7 +991,7 @@ JSONload(int *kind, int *string, int *in
snprintf(buf, sizeof(buf), "json_%s_kind", *nme);
bid = BBPindex(buf);
if (!bid)
- throw(MAL, "json.store",
+ throw(MAL, "json.load",
"no such JSON object with name: %s", *nme);
*kind = bid;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list