diff options
author | Joe7 <jozsef.rnagy@site.hu> | 2010-12-27 22:16:29 +0100 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-12-28 23:14:04 -0800 |
commit | 440597356d8719bdc6733d2d86aaef5f86d05a1e (patch) | |
tree | ccad5cd8dd38ccbf3f3a028916eefafd0def4cd8 /installer/install.sql | |
parent | 66fd8c7518ab71466aca72d20fb7bcd5f374af26 (diff) |
Added changes to installer and upgrader scripts to support INSERT ON DUPLICATE KEY UPDATE SYNTAX in cache lib
Diffstat (limited to 'installer/install.sql')
-rw-r--r-- | installer/install.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql index 427a3283..baee2b9d 100644 --- a/installer/install.sql +++ b/installer/install.sql @@ -43,7 +43,7 @@ CREATE TABLE {caches} ( `expiration` int(9) NOT NULL, `cache` longblob, PRIMARY KEY (`id`), - KEY `key` (`key`), + UNIQUE KEY `key` (`key`), KEY `tags` (`tags`) ) DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; |