4cffc3eb6f43e109452b5b52d1f760cf1ea6a981
jcasper
  Sun Jun 7 21:47:37 2026 -0700
Adjusting sessionDb and userDb IDs to be 64-bit in the code, since the database
is now ready for it and we're crossing the threshold.  refs #33554

diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index 81e0f5c0bd9..b11aaae379d 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -432,33 +432,36 @@
 
 int sqlFieldColumn(struct sqlResult *sr, char *colName);
 /* get the column number of the specified field in the result, or
  * -1 if the result doesn't contain the field.*/
 
 long sqlTableSize(struct sqlConnection *conn, char *table);
 /* Find number of rows in table. */
 
 int sqlFieldIndex(struct sqlConnection *conn, char *table, char *field);
 /* Returns index of field in a row from table, or -1 if it
  * doesn't exist. */
 
 struct slName *sqlFieldNames(struct sqlConnection *conn, char *table);
 /* Returns field names from a table. */
 
-unsigned int sqlLastAutoId(struct sqlConnection *conn);
+unsigned long sqlLastAutoId64(struct sqlConnection *conn);
 /* Return last automatically incremented id inserted into database. */
 
+unsigned int sqlLastAutoId(struct sqlConnection *conn);
+/* Return last automatically incremented id inserted into database (not 64-bit). */
+
 void sqlVaWarn(struct sqlConnection *sc, char *format, va_list args);
 /* Error message handler. */
 
 void sqlWarn(struct sqlConnection *sc, char *format, ...)
 /* Printf formatted error message that adds on sql
  * error message. */
 #if defined(__GNUC__)
 __attribute__((format(printf, 2, 3)))
 #endif
 ;
 
 void sqlAbort(struct sqlConnection  *sc, char *format, ...)
 /* Printf formatted error message that adds on sql
  * error message and abort. */
 #if defined(__GNUC__)