Diff
Not logged in

Differences From Artifact [4ec829dacd]:

To Artifact [f07fee1fea]:


551
552
553
554
555
556
557










558
559
560
561
562
563
564
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574







+
+
+
+
+
+
+
+
+
+







#endif
int main(int argc, char **argv)
#endif
{
  const char *zCmdName = "unknown";
  const CmdOrPage *pCmd = 0;
  int rc;

  /* Limit the total amount of heap and stack space available to 
  ** Fossil as a defense against "stack clash" attacks.  64-bit systems
  ** have much larger limits than 32-bit systems. */
  if( sizeof(pCmd)==4 ){
    fossil_limit_memory( 1000000000, 2000000); /* 32-bit systems */
  }else{
    fossil_limit_memory(10000000000, 2000000); /* 64-bit systems */
  }

  if( sqlite3_libversion_number()<3014000 ){
    fossil_fatal("Unsuitable SQLite version %s, must be at least 3.14.0",
                 sqlite3_libversion());
  }
  sqlite3_config(SQLITE_CONFIG_MULTITHREAD);
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
  memset(&g, 0, sizeof(g));