From: Mitra <mi...@ea...> - 2003-02-13 11:22:20
|
As part of importing / exporting, I've got a problem with shortids. Lets take views for example - they have shortids which are an auto-increment field, When I import from one system to another, I want to add an offset to avoid clashes, for example I might add 1000 so that I can a) do it in emacs and b) understand the result and fix mistakes. Will this cause problems with the autoincrement field in any way? For example there might be views 1-10 and 1001 -1024, so will the next auto-incremented view by 11 ? And what happens when it auto-increments to 1000? I could probably write a bunch of tests for this, but wondered if anyone already had done so? - Mitra -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |