summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-05-03 01:16:56 +0200
committerunknown <serg@serg.mylan>2003-05-03 01:16:56 +0200
commitb33115ecf9f99c1ffee158d193cafa53b438e52c (patch)
tree467d41e9c8504f3a06fc667f9a989394e4a6bce7 /sql/field.h
parenta20b167cae50d938914f0a024bf31546305d17cb (diff)
downloadmariadb-git-b33115ecf9f99c1ffee158d193cafa53b438e52c.tar.gz
INSERT ... UPDATE ... VALUES()
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h4
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) |