summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-14 12:31:46 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-14 12:31:46 +0000
commit1cd8bc5a0048afd8c21c411adc5001db9bfa1dce (patch)
treebb385e0be90421580f209ffa125c1423e38f39b1 /modules/system
parent5eefb7ab89fea2d33c59c089c349d70be73badcf (diff)
downloadbrdo-1cd8bc5a0048afd8c21c411adc5001db9bfa1dce.tar.gz
brdo-1cd8bc5a0048afd8c21c411adc5001db9bfa1dce.tar.bz2
- Patch #813492 by chx, Damien Tournoud, justinrandell: HTTPS sessions use an invalid merge query.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 9a57f1bc9..c6d0470f5 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1413,8 +1413,8 @@ function system_schema() {
'description' => "Unique key: Secure session ID. The value is generated by PHP's Session API.",
'type' => 'varchar',
'length' => 64,
- 'not null' => FALSE,
- 'default' => NULL,
+ 'not null' => TRUE,
+ 'default' => '',
),
'hostname' => array(
'description' => 'The IP address that last used this session ID (sid).',
@@ -1442,14 +1442,14 @@ function system_schema() {
'size' => 'big',
),
),
- 'primary key' => array('sid'),
+ 'primary key' => array(
+ 'sid',
+ 'ssid',
+ ),
'indexes' => array(
'timestamp' => array('timestamp'),
'uid' => array('uid'),
),
- 'unique keys' => array(
- 'ssid' => array('ssid'),
- ),
'foreign keys' => array(
'uid' => array('users' => 'uid'),
),