diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-06-05 12:13:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-06-05 12:13:23 +0000 |
commit | 27388f66557cddce6aff1cc945601c5f843304cd (patch) | |
tree | 3a12f2afdc14b5af5be1b03d9c1fde6ac3d77928 /modules/system/system.install | |
parent | 745222200e0670f55c6d695e467558171b7bb5d8 (diff) | |
download | brdo-27388f66557cddce6aff1cc945601c5f843304cd.tar.gz brdo-27388f66557cddce6aff1cc945601c5f843304cd.tar.bz2 |
- Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 96d64bfab..e36f34f14 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3339,6 +3339,16 @@ function system_update_6022() { return $ret; } + +function system_update_6023() { + $ret = array(); + // vid is NULL + db_change_field($ret, 'node', 'vid'); + // nid is DEFAULT 0 + db_change_field($ret, 'node_revisions', 'nid'); + return $ret; +} + /** * @} End of "defgroup updates-5.x-to-6.x" * The next series of updates should start at 7000. |