~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

Merge trunk and resolve all conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
     Check whether a field type can be partially indexed by a key.
204
204
 
205
205
     This is a static method, rather than a virtual function, because we need
206
 
     to check the type of a non-Field in mysql_alter_table().
 
206
     to check the type of a non-Field in drizzled::alter_table().
207
207
 
208
208
     @param type  field type
209
209
 
340
340
  // For new field
341
341
  virtual uint32_t size_of() const =0;
342
342
 
343
 
  bool is_null(my_ptrdiff_t row_offset= 0);
344
 
  bool is_real_null(my_ptrdiff_t row_offset= 0);
 
343
  bool is_null(ptrdiff_t row_offset= 0);
 
344
  bool is_real_null(ptrdiff_t row_offset= 0);
345
345
  bool is_null_in_record(const unsigned char *record);
346
346
  bool is_null_in_record_with_offset(ptrdiff_t offset);
347
347
  void set_null(ptrdiff_t row_offset= 0);