summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index bb9ced2e450..5b6aa2a8a7c 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -554,13 +554,17 @@ enum enum_schema_tables
};
+#define MY_I_S_MAYBE_NULL 1
+#define MY_I_S_UNSIGNED 2
+
+
typedef struct st_field_info
{
const char* field_name;
uint field_length;
enum enum_field_types field_type;
int value;
- bool maybe_null;
+ uint field_flags; // Field atributes(maybe_null, signed, unsigned etc.)
const char* old_name;
} ST_FIELD_INFO;