Needs review
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
content.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2013 at 18:53 UTC
Updated:
20 Jan 2013 at 18:53 UTC
It's insert, the record should not exist so no point looking for it.
Not that later on there is checking on $op based on that records should not exist on insert, e.g.
if ($op == 'update') {
db_query('DELETE FROM {'. $db_info['table'] .'} WHERE vid = %d', $node->vid);
}
| Comment | File | Size | Author |
|---|---|---|---|
| content_storage_insert.patch | 693 bytes | hefox |