bmicrosleep(5, 0);
}
if (!mdb->result) {
- Dmsg1(000, "Query failed: %s\n", query);
+ Dmsg1(50, "Query failed: %s\n", query);
goto bail_out;
}
mdb->status = 0; /* succeed */
} else {
- Dmsg1(000, "Result status failed: %s\n", query);
+ Dmsg1(50, "Result status failed: %s\n", query);
goto bail_out;
}
bmicrosleep(5, 0);
}
if (!result) {
- Dmsg1(000, "Query failed: %s\n", query);
+ Dmsg1(50, "Query failed: %s\n", query);
goto bail_out;
}
id = atoi(PQgetvalue(result, 0, 0));
Dmsg2(500, "got value '%s' which became %d\n", PQgetvalue(result, 0, 0), id);
} else {
- Dmsg1(000, "Result status failed: %s\n", query);
+ Dmsg1(50, "Result status failed: %s\n", query);
Mmsg1(&mdb->errmsg, _("error fetching currval: %s\n"), PQerrorMessage(mdb->db));
}
bmicrosleep(5, 0);
}
if (!mdb->result) {
- Dmsg1(000, "Query failed: %s\n", query);
+ Dmsg1(50, "Query failed: %s\n", query);
goto bail_out;
}
mdb->num_rows = 0;
mdb->status = 1;
} else {
- Dmsg1(000, "Result status failed: %s\n", query);
+ Dmsg1(50, "Result status failed: %s\n", query);
goto bail_out;
}