Commit ea80bf64 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use REPLACE rather than UPDATE because z_reserve_uid is used to insert a dummy entry, too.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e05e4764
...@@ -8,9 +8,7 @@ class_name: ...@@ -8,9 +8,7 @@ class_name:
class_file: class_file:
</dtml-comment> </dtml-comment>
<params>uid:int</params> <params>uid:int</params>
UPDATE REPLACE INTO
catalog catalog (uid, id, path)
SET VALUES
id = 'used' (<dtml-sqlvar uid type="int">, 'used', 'reserved')
WHERE
uid = <dtml-sqlvar uid type="int">
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