d983323cd2570af1cf3971763d14ef2d88c06fe4
jcasper
  Wed Feb 19 17:00:19 2025 -0800
sqlTableSize needs to support tables with more than 2B rows (rarely, but it does), refs #35262

diff --git src/hg/hgSession/backup.c src/hg/hgSession/backup.c
index 48337a5cf37..1ca0b90b6ad 100644
--- src/hg/hgSession/backup.c
+++ src/hg/hgSession/backup.c
@@ -396,31 +396,31 @@
 	    }
 	}
     }
 return result;
 }
 
 
 /* hold extra data that does not fit in the track struct itself,
  * but which is track-specific */
 struct ctExtra
     {
     struct ctExtra *next;
     char *name;  // important to identity of the track in hgCustom
     char *browserLines;
     char *trackLine;
-    int tableRows;
+    long tableRows;
     unsigned long tableDataLength;
     char *bigDataUrl;
     };
 
 struct downloadResults
     {
     struct downloadResults *next;
     char *db;
     char *ctPath;    // path to ct file in trash
     struct customTrack *cts;  // tracks
     struct ctExtra *ctExtras; // parallel additional info to the tracks
     };
 
 
 void addFieldToTrackLine(struct dyString *dy, struct customTrack *track, char *field, boolean isRequired)