Fossil SCM

Enhanced comments on the implementation of the checkin_mtime() SQL function.

drh 2015-01-14 23:26 trunk
Commit 3b2dcd937899ad62adc5f57b736b788a6147f2d3
1 file changed +8
+8
--- src/db.c
+++ src/db.c
@@ -735,10 +735,18 @@
735735
sqlite3_result_int64(context, time(0));
736736
}
737737
738738
/*
739739
** Function to return the check-in time for a file.
740
+**
741
+** checkin_mtime(CKINID,RID)
742
+**
743
+** CKINID: The RID for the manifest for a check-in.
744
+** RID: The RID of a file in CKINID for which the check-in time
745
+** is desired.
746
+**
747
+** Returns: The check-in time in seconds since 1970.
740748
*/
741749
void db_checkin_mtime_function(
742750
sqlite3_context *context,
743751
int argc,
744752
sqlite3_value **argv
745753
--- src/db.c
+++ src/db.c
@@ -735,10 +735,18 @@
735 sqlite3_result_int64(context, time(0));
736 }
737
738 /*
739 ** Function to return the check-in time for a file.
 
 
 
 
 
 
 
 
740 */
741 void db_checkin_mtime_function(
742 sqlite3_context *context,
743 int argc,
744 sqlite3_value **argv
745
--- src/db.c
+++ src/db.c
@@ -735,10 +735,18 @@
735 sqlite3_result_int64(context, time(0));
736 }
737
738 /*
739 ** Function to return the check-in time for a file.
740 **
741 ** checkin_mtime(CKINID,RID)
742 **
743 ** CKINID: The RID for the manifest for a check-in.
744 ** RID: The RID of a file in CKINID for which the check-in time
745 ** is desired.
746 **
747 ** Returns: The check-in time in seconds since 1970.
748 */
749 void db_checkin_mtime_function(
750 sqlite3_context *context,
751 int argc,
752 sqlite3_value **argv
753

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button