757e45a5277d0cea141c10dadb0a24f62b5734d4 braney Tue Jun 1 17:49:00 2021 -0700 wnen inserting rows in hubStatus, catch and ignore duplicate entries due t new unique index on hubUrl diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h index fc6e079..8608ffc 100644 --- src/hg/inc/jksql.h +++ src/hg/inc/jksql.h @@ -783,18 +783,18 @@ /* Create a new sqlFieldType */ void sqlFieldTypeFree(struct sqlFieldType **pFt); /* Free resources used by sqlFieldType */ void sqlFieldTypeFreeList(struct sqlFieldType **pList); /* Free a list of dynamically allocated sqlFieldType's */ struct sqlFieldType *sqlFieldTypesFromAs(struct asObject *as); /* Convert asObject to list of sqlFieldTypes */ struct sqlFieldType *sqlListFieldsAndTypes(struct sqlConnection *conn, char *table); /* Get list of fields including their names and types. The type currently is * just a MySQL type string. */ - - +const char *sqlLastError(struct sqlConnection *sc); +/* Return the last error from a sql connection. */ #endif /* JKSQL_H */