d861d5585551ca61b2ee89db6600220fc400678f craft Tue Sep 28 13:03:14 2010 -0700 sqlGetResultExt should return errors on failure. (Rather than on success). diff --git src/hg/lib/jksql.c src/hg/lib/jksql.c index 53be077..06cb6fb 100644 --- src/hg/lib/jksql.c +++ src/hg/lib/jksql.c @@ -1139,7 +1139,7 @@ * and *error will be set to the mysql error string, which MUST NOT be freed. */ { struct sqlResult *sr = sqlUseOrStore(sc, query, mysql_use_result, FALSE); -if (sr) +if (sr == NULL) { MYSQL *conn = sc->conn; if (errorNo)