projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
694c447
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 08:11:15 +0000
(16:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 08:11:15 +0000
(16:11 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
c9c997b
..
2ff0749
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-476,7
+476,8
@@
public class Strip : GLib.Object {
mime_size ,
filesize,
mime_size ,
filesize,
- checksum
+ checksum,
+ created
) VALUES (
%d, -- id
) VALUES (
%d, -- id
@@
-494,8
+495,9
@@
public class Strip : GLib.Object {
0,
%d, -- size
%d, -- size
0,
%d, -- size
%d, -- size
- '%s' -- checkum
-
+
+ '%s', -- checkum
+ '%s' --created:
)"
)"
@@
-507,13
+509,14
@@
public class Strip : GLib.Object {
this.mysql_escape(file_path),
file_size
file_size
this.mysql_escape(file_path),
file_size
file_size
- this.mysql_escape(chksum)
+ this.mysql_escape(chksum),
+ this.created_date
));
// this is done to fix the queue_id or maillog_id ??
this.query("""
SELECT attachment_update(
%d, -- in_id INT(11),
));
// this is done to fix the queue_id or maillog_id ??
this.query("""
SELECT attachment_update(
%d, -- in_id INT(11),
-
+ '', -- mime type
'%s', -- in_created DATETIME,
'%s' -- in_mailfort_sig varchar(64)
)
'%s', -- in_created DATETIME,
'%s' -- in_mailfort_sig varchar(64)
)