Skip to content

Commit

Permalink
Refactor Innodb::DataType; add SET/ENUM; fix DECIMAL
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycole committed Nov 19, 2024
1 parent b04a009 commit bc203da
Show file tree
Hide file tree
Showing 22 changed files with 714 additions and 492 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PATH
innodb_ruby (0.14.0)
bigdecimal (~> 3.1.8)
bindata (>= 1.4.5, < 3.0)
csv (~> 3.3)
digest-crc (~> 0.4, >= 0.4.1)
getoptlong (~> 0.2.1)
histogram (~> 0.2)
Expand All @@ -14,6 +15,7 @@ GEM
ast (2.4.2)
bigdecimal (3.1.8)
bindata (2.5.0)
csv (3.3.0)
diff-lcs (1.5.1)
digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0)
Expand Down
1 change: 1 addition & 0 deletions innodb_ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gem::Specification.new do |s|

s.add_dependency("bigdecimal", "~> 3.1.8")
s.add_dependency("bindata", ">= 1.4.5", "< 3.0")
s.add_dependency("csv", "~> 3.3")
s.add_dependency("digest-crc", "~> 0.4", ">= 0.4.1")
s.add_dependency("getoptlong", "~> 0.2.1")
s.add_dependency("histogram", "~> 0.2")
Expand Down
16 changes: 16 additions & 0 deletions lib/innodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,22 @@ def self.debug=(value)
require "innodb/page/sdi_blob"
require "innodb/page/sys"
require "innodb/page/undo_log"
require "innodb/data_type"
require "innodb/data_type/bit"
require "innodb/data_type/blob"
require "innodb/data_type/character"
require "innodb/data_type/date"
require "innodb/data_type/datetime"
require "innodb/data_type/decimal"
require "innodb/data_type/enum"
require "innodb/data_type/floating_point"
require "innodb/data_type/innodb_roll_pointer"
require "innodb/data_type/innodb_transaction_id"
require "innodb/data_type/integer"
require "innodb/data_type/set"
require "innodb/data_type/time"
require "innodb/data_type/timestamp"
require "innodb/data_type/year"
require "innodb/record"
require "innodb/field"
require "innodb/space"
Expand Down
Loading

0 comments on commit bc203da

Please sign in to comment.