Changeset: a7140521887a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a7140521887a
Modified Files:
        monetdb5/optimizer/opt_json.c
Branch: default
Log Message:

Fix non-initialized variable use.


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_json.c b/monetdb5/optimizer/opt_json.c
--- a/monetdb5/optimizer/opt_json.c
+++ b/monetdb5/optimizer/opt_json.c
@@ -51,7 +51,7 @@ OPTjsonImplementation(Client cntxt, MalB
                        q = pushArgument(mb, q, bu);
                        q = pushArgument(mb, q, br);
                        q = pushArgument(mb, q, bj);
-                       j = getArg(q,j);
+                       j = getArg(q,0);
                        p= getInstrPtr(mb,0);
                        setVarType(mb,getArg(p,0),TYPE_str);
                        q = newReturnStmt(mb);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to