Skip to content

Commit

Permalink
Adjust limit for blobs to 10 MB
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.ttiltd.com/svn/dev.rb/trunk/libraries/fb_adapter@410 e6efdd46-4312-0410-9032-dd8a18d5a4db
  • Loading branch information
brent committed Aug 24, 2006
1 parent cb5bdca commit def4637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fb_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def initialize(name, domain, type, sub_type, length, precision, scale, default_s
@firebird_type = Fb::SqlType.from_code(type, sub_type || 0)
super(name.downcase, nil, @firebird_type, !null_flag)
@default = parse_default(default_source) if default_source
@limit = length
@limit = (@firebird_type == 'BLOB') ? 10 * 1024 * 1024 : length
@domain, @sub_type, @precision, @scale = domain, sub_type, precision, scale
end

Expand Down

0 comments on commit def4637

Please sign in to comment.