in reply to On Site retitle function
The code traverses the thread and for each node that needs re-titling, executes an Update (to change the title) and an Insert (to update the node history).
Take for example 'Algorithm wanted' (481987) which at the moment has 83 replies; clicking the retitle button would execute 84 Updates and 84 Inserts. Even if the re-titling could be done using a single Update (I think we would need subqueries to do that), there's no escaping the Inserts if we want edit histories.
For any interested pmdevs, the re-titler is node 324584 on the test server.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: On Site retitle function
by Corion (Patriarch) on Aug 12, 2005 at 20:35 UTC | |
by Arunbear (Prior) on Aug 12, 2005 at 20:46 UTC | |
by tye (Sage) on Aug 12, 2005 at 22:19 UTC | |
by holli (Abbot) on Sep 03, 2005 at 07:54 UTC |