summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install4
1 files changed, 2 insertions, 2 deletions
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');