Commit d1f8d5a8 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Change the way of recording; record the method id.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4856 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4bca3cc
......@@ -14,9 +14,9 @@ class_file:
#
CREATE TABLE `record` (
`path` varchar(255) NOT NULL default '',
`catalog` BOOL NOT NULL default 0,
`method_id` VARCHAR(255) NOT NULL default 'reindexObject',
`played` BOOL NOT NULL default 0,
`date` DATETIME NOT NULL,
KEY `path` (`path`),
KEY `played` (`played`)
) TYPE=InnoDB;
\ No newline at end of file
) TYPE=InnoDB;
......@@ -9,10 +9,10 @@ class_file:
</dtml-comment>
<params></params>
SELECT
path, catalog
path
FROM
record
WHERE
played = 0
ORDER BY
path, date DESC
\ No newline at end of file
date
......@@ -7,16 +7,17 @@ cache_time:0
class_name:
class_file:
</dtml-comment>
<params>path_list</params>
<params>path_list
method_id</params>
INSERT INTO
record
VALUES
<dtml-in path_list>
(
<dtml-sqlvar sequence-item type="string">,
1,
<dtml-sqlvar method_id type="string">,
0,
NOW()
)
<dtml-if sequence-end><dtml-else>,</dtml-if>
</dtml-in>
\ No newline at end of file
</dtml-in>
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>path</params>
INSERT INTO
record
VALUES
(
<dtml-sqlvar path type="string">,
0,
0,
NOW()
)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment