Changeset: 952f4c04d61c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=952f4c04d61c
Modified Files:
sql/backends/monet5/sql_gencode.c
Branch: default
Log Message:
Backed out changeset a8a4e3c03d46
removed because stefan did the same
diffs (29 lines):
diff --git a/sql/backends/monet5/sql_gencode.c
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -2406,21 +2406,21 @@ backend_dumpproc(backend *be, Client c,
// Always keep the SQL query around for monitoring
// if (m->history || QLOGisset()) {
{
- char *t, *s;
+ char *t;
InstrPtr q;
if ( be->q && be->q->codestring) {
- t = s = GDKstrdup( be->q->codestring);
+ t = GDKstrdup( be->q->codestring);
while( t && isspace((int) *t) )
t++;
} else {
- t = s = GDKstrdup("-- no query");
+ t = GDKstrdup("-- no query");
}
q = newStmt1(mb, "querylog", "define");
q->token = REMsymbol; // will be patched
q = pushStr(mb, q, t);
- GDKfree(s);
+ GDKfree(t);
q = pushStr(mb, q, pipe= initSQLoptimizer());
m->Tparse = 0;
GDKfree(pipe);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list