Fossil

Diff
Login

Differences From Artifact [84e1490d9c]:

To Artifact [3b146d0082]:


613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
  sqlite3_close(db);
}

/*
** Function to return the number of seconds since 1970.  This is
** the same as strftime('%s','now') but is more compact.
*/
static void db_now_function(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  sqlite3_result_int64(context, time(0));
}








|







613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
  sqlite3_close(db);
}

/*
** Function to return the number of seconds since 1970.  This is
** the same as strftime('%s','now') but is more compact.
*/
void db_now_function(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  sqlite3_result_int64(context, time(0));
}