Commit 40f71713 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove AUTO_INCREMENT property on uid columns. Now uid generation do not rely...

Remove AUTO_INCREMENT property on uid columns. Now uid generation do not rely anymore on this MySQL behaviour which has the bad effect of locking the whole catalog table (at least) when inserting/updating rows.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16689 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fa9897db
......@@ -96,7 +96,7 @@
# Table: \'catalog\'\n
#\n
CREATE TABLE `catalog` (\n
`uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n
`uid` BIGINT UNSIGNED NOT NULL,\n
`security_uid` INT UNSIGNED,\n
`owner` varchar(32) default \'\',\n
`path` varchar(255) NOT NULL default \'\',\n
......@@ -184,7 +184,7 @@ CREATE TABLE `catalog` (\n
# Table: \'catalog\'\n
#\n
CREATE TABLE `catalog` (\n
`uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n
`uid` BIGINT UNSIGNED NOT NULL,\n
`security_uid` INT UNSIGNED,\n
`owner` varchar(32) default \'\',\n
`path` varchar(255) NOT NULL default \'\',\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment