Class: Innodb::FieldType::VariableStringType
- Inherits:
-
GenericType
- Object
- GenericType
- Innodb::FieldType::VariableStringType
- Defined in:
- lib/innodb/field_type.rb
Instance Attribute Summary
Attributes inherited from GenericType
Instance Method Summary collapse
Methods inherited from GenericType
#get_extern_field, #initialize, #read_extern
Constructor Details
This class inherits a constructor from Innodb::FieldType::GenericType
Instance Method Details
#read(cursor, length) ⇒ Object
38 39 40 41 42 |
# File 'lib/innodb/field_type.rb', line 38 def read(cursor, length) # The SQL standard defines that VARCHAR fields should have end-spaces # stripped off. super.sub(/[ ]+$/, "") end |