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,7 +14,7 @@ class_file: ...@@ -14,7 +14,7 @@ class_file:
# #
CREATE TABLE `record` ( CREATE TABLE `record` (
`path` varchar(255) NOT NULL default '', `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, `played` BOOL NOT NULL default 0,
`date` DATETIME NOT NULL, `date` DATETIME NOT NULL,
KEY `path` (`path`), KEY `path` (`path`),
......
...@@ -9,10 +9,10 @@ class_file: ...@@ -9,10 +9,10 @@ class_file:
</dtml-comment> </dtml-comment>
<params></params> <params></params>
SELECT SELECT
path, catalog path
FROM FROM
record record
WHERE WHERE
played = 0 played = 0
ORDER BY ORDER BY
path, date DESC date
\ No newline at end of file
...@@ -7,14 +7,15 @@ cache_time:0 ...@@ -7,14 +7,15 @@ cache_time:0
class_name: class_name:
class_file: class_file:
</dtml-comment> </dtml-comment>
<params>path_list</params> <params>path_list
method_id</params>
INSERT INTO INSERT INTO
record record
VALUES VALUES
<dtml-in path_list> <dtml-in path_list>
( (
<dtml-sqlvar sequence-item type="string">, <dtml-sqlvar sequence-item type="string">,
1, <dtml-sqlvar method_id type="string">,
0, 0,
NOW() NOW()
) )
......
<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