Fossil SCM
Enhanced comments on the implementation of the checkin_mtime() SQL function.
Commit
3b2dcd937899ad62adc5f57b736b788a6147f2d3
Parent
439453b5c77ab79…
1 file changed
+8
M
src/db.c
+8
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -735,10 +735,18 @@ | ||
| 735 | 735 | sqlite3_result_int64(context, time(0)); |
| 736 | 736 | } |
| 737 | 737 | |
| 738 | 738 | /* |
| 739 | 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. | |
| 740 | 748 | */ |
| 741 | 749 | void db_checkin_mtime_function( |
| 742 | 750 | sqlite3_context *context, |
| 743 | 751 | int argc, |
| 744 | 752 | sqlite3_value **argv |
| 745 | 753 |
| --- 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 |