Unable to create database record with given id in temp table

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Sep 17, 2010, 3:40:53 AM9/17/10
to In-Portal Bugs
Recently I was trying to use $force_id parameter of kDBItem::Create method to create record with specific (not auto-increment as usual) id field value.

As a result I always ended with record, that have "-1" as id instead of given one.

Task: http://tracker.in-portal.org/view.php?id=866

Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
unable_to_force_new_record_id_in_temp_table.patch

Dmitry Andrejev

unread,
Sep 17, 2010, 11:20:44 AM9/17/10
to in-port...@googlegroups.com
Patch successfully tested.

Thanks Alex.

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--


Best regards,

Dmitry A.

Reply all
Reply to author
Forward
0 new messages