[Buildbot-commits] [Buildbot] #2114: database length restrictions on properties are silent

Buildbot nobody at buildbot.net
Sun Feb 26 14:49:06 UTC 2012


#2114: database length restrictions on properties are silent
---------------------+---------------------
Reporter:  dustin    |       Owner:
    Type:  defect    |      Status:  closed
Priority:  major     |   Milestone:  0.8.6
 Version:  0.8.4p2   |  Resolution:  fixed
Keywords:  database  |
---------------------+---------------------
Changes (by dustin):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 The trac hook failed, but this is fixed in

 {{{
 commit 967b74ecaf1f0bbae842534280b3e56e5d52c17f
 Author: Dustin J. Mitchell <dustin at mozilla.com>
 Date:   Sat Feb 25 22:59:04 2012 -0600

     check database column length on insert for MySQL

     SQLite ignores length and just stores all the bytes you give it.
     Postgres will kindly produce an error rather than silently truncating.
     So this support is only really useful for MySQL, and stubs itself out
     everywhere else.

     Fixes #2114.
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2114#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list