From cc8d47a9f1e1827493668152950edccb0f8cc640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 20 Sep 2007 08:37:22 +0000 Subject: #176429: JirkaRybka: two queries were missing curly braces in system.install --- modules/system/system.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 70d9d553a..fe70b3581 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3234,10 +3234,10 @@ function system_update_6019() { // Remove default => 0, set auto increment. $new_uid = 1 + db_result(db_query('SELECT MAX(uid) FROM {users}')); - $ret[] = update_sql('UPDATE users SET uid = '. $new_uid . ' WHERE uid = 0'); + $ret[] = update_sql('UPDATE {users} SET uid = '. $new_uid . ' WHERE uid = 0'); db_drop_primary_key($ret, 'users'); db_change_field($ret, 'users', 'uid', 'uid', array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), array('primary key' => array('uid'))); - $ret[] = update_sql('UPDATE users SET uid = 0 WHERE uid = '. $new_uid); + $ret[] = update_sql('UPDATE {users} SET uid = 0 WHERE uid = '. $new_uid); // Special field names. $map = array('node_revisions' => 'vid'); -- cgit v1.2.3