diff options
Diffstat (limited to 'src/interfaces/odbc/qresult.c')
-rw-r--r-- | src/interfaces/odbc/qresult.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/odbc/qresult.c b/src/interfaces/odbc/qresult.c index 714063516e0..cae730d8ae2 100644 --- a/src/interfaces/odbc/qresult.c +++ b/src/interfaces/odbc/qresult.c @@ -186,7 +186,8 @@ QR_fetch_tuples(QResultClass *self, ConnectionClass *conn, char *cursor) if (conn != NULL) { self->conn = conn; - mylog("QR_fetch_tuples: cursor = '%s', self->cursor=%u\n", cursor, self->cursor); + mylog("QR_fetch_tuples: cursor = '%s', self->cursor=%u\n", + (cursor==NULL)?"":cursor, self->cursor); if (self->cursor) free(self->cursor); |