diff options
Diffstat (limited to '')
-rw-r--r-- | ts3db.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -232,14 +232,8 @@ unsigned int ts3dbplugin_open(unsigned int connection_nr, const char* query, log("new row done.", LOG_DEBUG); for (j = 0; j < col_count; j++) { - if (PQgetisnull(result, i, j) == 1) { - log("<NULL>", LOG_DEBUG); - new_value(j, NULL, context); - } - else { - log(PQgetvalue(result, i, j), LOG_DEBUG); - new_value(j, PQgetvalue(result, i, j), context); - } + log(PQgetvalue(result, i, j), LOG_DEBUG); + new_value(j, PQgetvalue(result, i, j), context); } } |