diff options
author | unknown <serg@serg.mylan> | 2003-05-03 01:16:56 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-05-03 01:16:56 +0200 |
commit | b33115ecf9f99c1ffee158d193cafa53b438e52c (patch) | |
tree | 467d41e9c8504f3a06fc667f9a989394e4a6bce7 /sql/field.h | |
parent | a20b167cae50d938914f0a024bf31546305d17cb (diff) | |
download | mariadb-git-b33115ecf9f99c1ffee158d193cafa53b438e52c.tar.gz |
INSERT ... UPDATE ... VALUES()
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h index 7334ff66dd8..80bfc516ef7 100644 --- a/sql/field.h +++ b/sql/field.h @@ -57,7 +57,7 @@ public: GEOM_GEOMETRYCOLLECTION = 7 }; enum imagetype { itRAW, itMBR}; - + utype unireg_check; uint32 field_length; // Length of field uint16 flags; @@ -83,7 +83,7 @@ public: virtual void reset_fields() {} virtual void set_default() { - my_ptrdiff_t offset = table->default_values() - table->record[0]; + my_ptrdiff_t offset = table->default_values - table->record[0]; memcpy(ptr, ptr + offset, pack_length()); if (null_ptr) *null_ptr= ((*null_ptr & (uchar) ~null_bit) | |