Skip to content

Commit

Permalink
Fix documentation of default MySQL cast rules (dimitri#815)
Browse files Browse the repository at this point in the history
The default rule is `type int to bigint    when  (>= 10 precision)`.
  • Loading branch information
alexknips authored and dimitri committed Jul 20, 2018
1 parent 46d14af commit 5ca3ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/mysql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ Numbers::
type int with extra auto_increment to serial when (< precision 10)
type int with extra auto_increment to bigserial when (<= 10 precision)
type int to int when (< precision 10)
type int to bigint when (<= 10 precision)
type int to bigint when (>= 10 precision)
type tinyint with extra auto_increment to serial
type smallint with extra auto_increment to serial
type mediumint with extra auto_increment to serial
Expand Down

0 comments on commit 5ca3ee8

Please sign in to comment.