#include <data0type.h>
 | 
| unsigned  | prtype: 32 | 
|   | precise type; MySQL data type, charset code, flags to indicate nullability, signedness, whether this is a binary string, whether this is a true VARCHAR where MySQL uses 2 bytes to store the length  More...
  | 
|   | 
| unsigned  | mtype: 8 | 
|   | main data type  More...
  | 
|   | 
| unsigned  | len: 16 | 
|   | length; for MySQL data this is field->pack_length(), except that for a >= 5.0.3 type true VARCHAR this is the maximum byte length of the string data (in addition to the string, MySQL uses 1 or 2 bytes to store the string length)  More...
  | 
|   | 
| unsigned  | mbminmaxlen: 5 | 
|   | minimum and maximum length of a character, in bytes; DATA_MBMINMAXLEN(mbminlen,mbmaxlen); mbminlen=DATA_MBMINLEN(mbminmaxlen); mbmaxlen=DATA_MBMINLEN(mbminmaxlen)  More...
  | 
|   | 
◆ is_mtype_valid()
  
  
      
        
          | bool dtype_t::is_mtype_valid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Check if the value in mtype is valid. 
- Returns
 - true if mtype is valid, false otherwise. 
 
 
 
◆ is_virtual()
  
  
      
        
          | bool dtype_t::is_virtual  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ print()
      
        
          | std::ostream & dtype_t::print  | 
          ( | 
          std::ostream &  | 
          out | ) | 
           const | 
        
      
 
 
◆ to_string()
  
  
      
        
          | std::string dtype_t::to_string  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ len
length; for MySQL data this is field->pack_length(), except that for a >= 5.0.3 type true VARCHAR this is the maximum byte length of the string data (in addition to the string, MySQL uses 1 or 2 bytes to store the string length) 
 
 
◆ mbminmaxlen
      
        
          | unsigned dtype_t::mbminmaxlen | 
        
      
 
minimum and maximum length of a character, in bytes; DATA_MBMINMAXLEN(mbminlen,mbmaxlen); mbminlen=DATA_MBMINLEN(mbminmaxlen); mbmaxlen=DATA_MBMINLEN(mbminmaxlen) 
 
 
◆ mtype
◆ prtype
precise type; MySQL data type, charset code, flags to indicate nullability, signedness, whether this is a binary string, whether this is a true VARCHAR where MySQL uses 2 bytes to store the length 
 
 
The documentation for this struct was generated from the following files: