Skip to content

Commit

Permalink
Fixed DDC-557 - Default allocation size for sequences changed from 10…
Browse files Browse the repository at this point in the history
… to 1. Documented in UPGRADE file
  • Loading branch information
beberlei committed Jun 13, 2010
1 parent bbf18bb commit 434325e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions UPGRADE_TO_2_0
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Update from 2.0-BETA2 to 2.0-BETA3

## Default Allocation Size for Sequences

The default allocation size for sequences has been changed from 10 to 1. This step was made
to not cause confusion with users and also because it is partly some kind of premature optimization.

# Update from 2.0-BETA1 to 2.0-BETA2

There are no backwards incompatible changes in this release.
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ final class JoinTable extends Annotation {
}
final class SequenceGenerator extends Annotation {
public $sequenceName;
public $allocationSize = 10;
public $allocationSize = 1;
public $initialValue = 1;
}
final class ChangeTrackingPolicy extends Annotation {}
Expand Down

0 comments on commit 434325e

Please sign in to comment.