Fossil

Check-in [e0073f431c]
Login

Check-in [e0073f431c]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use "sqlite3_int64" instead of "long long int" for compatibility with compilers that do not support long long.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e0073f431c030e66988a88056003d1e09edff959
User & Date: drh 2011-02-28 23:50:49.548
Context
2011-03-01
00:26
Speculative changes to the Makefile.dmc and Makefile.msc. I have no way of testing these changes. ... (check-in: a22a666349 user: drh tags: trunk)
2011-02-28
23:50
Use "sqlite3_int64" instead of "long long int" for compatibility with compilers that do not support long long. ... (check-in: e0073f431c user: drh tags: trunk)
23:35
Mingw makefile changes from Mark Janssen. ... (check-in: 36e3ab4c42 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
struct Global {
  int argc; char **argv;  /* Command-line arguments to the program */
  int isConst;            /* True if the output is unchanging */
  sqlite3 *db;            /* The connection to the databases */
  sqlite3 *dbConfig;      /* Separate connection for global_config table */
  int useAttach;          /* True if global_config is attached to repository */
  int configOpen;         /* True if the config database is open */
  long long int now;      /* Seconds since 1970 */
  int repositoryOpen;     /* True if the main repository database is open */
  char *zRepositoryName;  /* Name of the repository database */
  const char *zMainDbType;/* "configdb", "localdb", or "repository" */
  const char *zHome;      /* Name of user home directory */
  int localOpen;          /* True if the local database is open */
  char *zLocalRoot;       /* The directory holding the  local database */
  int minPrefix;          /* Number of digits needed for a distinct UUID */







|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
struct Global {
  int argc; char **argv;  /* Command-line arguments to the program */
  int isConst;            /* True if the output is unchanging */
  sqlite3 *db;            /* The connection to the databases */
  sqlite3 *dbConfig;      /* Separate connection for global_config table */
  int useAttach;          /* True if global_config is attached to repository */
  int configOpen;         /* True if the config database is open */
  sqlite3_int64 now;      /* Seconds since 1970 */
  int repositoryOpen;     /* True if the main repository database is open */
  char *zRepositoryName;  /* Name of the repository database */
  const char *zMainDbType;/* "configdb", "localdb", or "repository" */
  const char *zHome;      /* Name of user home directory */
  int localOpen;          /* True if the local database is open */
  char *zLocalRoot;       /* The directory holding the  local database */
  int minPrefix;          /* Number of digits needed for a distinct UUID */