<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">85</assigned-user-id>
  <attachments-count type="integer">1</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-06-15T04:03:21+01:00</created-at>
  <creator-id type="integer">14890</creator-id>
  <milestone-due-on type="datetime">2009-03-18T00:00:00+00:00</milestone-due-on>
  <milestone-id type="integer">9901</milestone-id>
  <number type="integer">420</number>
  <permalink>interpret-limit-as-number-of-bytes</permalink>
  <priority type="integer">8</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>activerecord</tag>
  <title>Interpret :limit as number of bytes</title>
  <updated-at type="datetime">2008-06-23T04:50:48+01:00</updated-at>
  <user-id type="integer">17393</user-id>
  <user-name>Repository</user-name>
  <creator-name>Tarmo T&#228;nav</creator-name>
  <assigned-user-name>Jeremy Kemper</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
  <milestone-title>2.1.1</milestone-title>
  <original-body>I've updated the patch originally from http://dev.rubyonrails.org/ticket/5489

Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.</original-body>
  <latest-body>I've updated the patch originally from http://dev.rubyonrails.org/ticket/5489

Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;
I've updated the patch originally from &lt;a href=&quot;http://dev.rubyonrails.org/ticket/5489&quot;&gt;http://dev.rubyonrails.org/ticke...&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;
Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I've updated the patch originally from http://dev.rubyonrails.org/ticket/5489

Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
I've updated the patch originally from &lt;a href=&quot;http://dev.rubyonrails.org/ticket/5489&quot;&gt;http://dev.rubyonrails.org/ticke...&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;
Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-15T04:03:21+01:00</created-at>
      <creator-id type="integer">14890</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">420</number>
      <permalink>interpret-limit-as-number-of-bytes</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Interpret :limit as number of bytes</title>
      <updated-at type="datetime">2008-06-15T04:03:21+01:00</updated-at>
      <user-id type="integer">14890</user-id>
      <user-name>Tarmo T&#228;nav</user-name>
      <creator-name>Tarmo T&#228;nav</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-16T12:26:07+01:00</created-at>
      <creator-id type="integer">14890</creator-id>
      <diffable-attributes type="yaml">--- 
:milestone: 
:state: new
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">9901</milestone-id>
      <number type="integer">420</number>
      <permalink>interpret-limit-as-number-of-bytes</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>Interpret :limit as number of bytes</title>
      <updated-at type="datetime">2008-06-16T12:26:07+01:00</updated-at>
      <user-id type="integer">85</user-id>
      <user-name>Jeremy Kemper</user-name>
      <creator-name>Tarmo T&#228;nav</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
      <milestone-title>2.1.1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>hooray, +1 hehe</body>
      <body-html>&lt;div&gt;&lt;p&gt;
hooray, +1 hehe
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-17T04:39:31+01:00</created-at>
      <creator-id type="integer">14890</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9901</milestone-id>
      <number type="integer">420</number>
      <permalink>interpret-limit-as-number-of-bytes</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>Interpret :limit as number of bytes</title>
      <updated-at type="datetime">2008-06-17T04:39:31+01:00</updated-at>
      <user-id type="integer">14685</user-id>
      <user-name>Pedro Belo</user-name>
      <creator-name>Tarmo T&#228;nav</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
      <milestone-title>2.1.1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>(from [a2eab629dcd90792b5a392e89d6260301b6fd485]) Always treat integer :limit as byte length.  [#420 state:resolved]
http://github.com/rails/rails/commit/a2eab629dcd90792b5a392e89d6260301b6fd485</body>
      <body-html>&lt;div&gt;&lt;p&gt;
(from [a2eab629dcd90792b5a392e89d6260301b6fd485]) Always treat integer :limit as byte length.  [#420 state:resolved]
&lt;/p&gt;&lt;p&gt;
&lt;a href=&quot;http://github.com/rails/rails/commit/a2eab629dcd90792b5a392e89d6260301b6fd485&quot;&gt;http://github.com/rails/rails/co...&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-06-23T04:50:47+01:00</created-at>
      <creator-id type="integer">14890</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer">9901</milestone-id>
      <number type="integer">420</number>
      <permalink>interpret-limit-as-number-of-bytes</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>Interpret :limit as number of bytes</title>
      <updated-at type="datetime">2008-06-23T04:50:47+01:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Tarmo T&#228;nav</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
      <milestone-title>2.1.1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>(from [baddea95e183b3bef290ec433f917ee8cd806934]) Always treat integer :limit as byte length.  [#420 state:resolved]
http://github.com/rails/rails/commit/baddea95e183b3bef290ec433f917ee8cd806934</body>
      <body-html>&lt;div&gt;&lt;p&gt;
(from [baddea95e183b3bef290ec433f917ee8cd806934]) Always treat integer :limit as byte length.  [#420 state:resolved]
&lt;/p&gt;&lt;p&gt;
&lt;a href=&quot;http://github.com/rails/rails/commit/baddea95e183b3bef290ec433f917ee8cd806934&quot;&gt;http://github.com/rails/rails/co...&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-06-23T04:50:48+01:00</created-at>
      <creator-id type="integer">14890</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9901</milestone-id>
      <number type="integer">420</number>
      <permalink>interpret-limit-as-number-of-bytes</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>Interpret :limit as number of bytes</title>
      <updated-at type="datetime">2008-06-23T04:50:48+01:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Tarmo T&#228;nav</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/420</url>
      <milestone-title>2.1.1</milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>674b6601b03e03e3ead5c554920bddf995f1fc88</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2008-06-15T04:03:21+01:00</created-at>
      <filename>0001-Interpret-limit-on-integers-as-number-of-bytes-for.patch</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">27489</id>
      <size type="integer">7448</size>
      <uploader-id type="integer">14890</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/27489/0001-Interpret-limit-on-integers-as-number-of-bytes-for.patch</url>
    </attachment>
  </attachments>
</ticket>
