Skip to content
Snippets Groups Projects
Commit b4291fdf authored by Pavel Kácha's avatar Pavel Kácha
Browse files

The lowest last id client can get ever have is 1 (0 is special), so first...

The lowest last id  client can get ever have is 1 (0 is special), so first event must be 2, otherwise event with id 1 may get lost (thx bodik@cesnet.cz)
parent 47848680
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ CREATE TABLE IF NOT EXISTS `events` ( ...@@ -73,7 +73,7 @@ CREATE TABLE IF NOT EXISTS `events` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `id` (`id`,`client_id`), KEY `id` (`id`,`client_id`),
KEY `received` (`received`) KEY `received` (`received`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 DEFAULT COLLATE utf8_unicode_ci AUTO_INCREMENT=1 ; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 DEFAULT COLLATE utf8_unicode_ci AUTO_INCREMENT=2 ;
-- -------------------------------------------------------- -- --------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment