Commit fa84b578 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Decided to go back to a boolean again.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4858 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70d87485
......@@ -14,7 +14,7 @@ class_file:
#
CREATE TABLE `record` (
`path` varchar(255) NOT NULL default '',
`method_id` VARCHAR(255) NOT NULL default 'reindexObject',
`catalog` BOOT NOT NULL default 0,
`played` BOOL NOT NULL default 0,
`date` DATETIME NOT NULL,
KEY `path` (`path`),
......
......@@ -7,15 +7,13 @@ cache_time:0
class_name:
class_file:
</dtml-comment>
<params>method_id</params>
<params>catalog</params>
SELECT
path
FROM
record
WHERE
played = 0
<dtml-if method_id>
AND method_id = <dtml-sqlvar method_id type="string">
</dtml-if>
AND catalog = <dtml-sqlvar catalog type="int">
ORDER BY
date
......@@ -8,14 +8,14 @@ class_name:
class_file:
</dtml-comment>
<params>path_list
method_id</params>
catalog</params>
INSERT INTO
record
VALUES
<dtml-in path_list>
(
<dtml-sqlvar sequence-item type="string">,
<dtml-sqlvar method_id type="string">,
<dtml-sqlvar catalog type="int">,
0,
NOW()
)
......
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