summaryrefslogtreecommitdiff
path: root/Docs/internals.texi
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-04 03:19:19 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-04 03:19:19 +0200
commit5f64e3e8436c56a4e77879db0b47e7f9672fdad8 (patch)
treebd54d0eeb6921908584536dd73e4537bab622943 /Docs/internals.texi
parentb58dd39b9923cfe0bb30cdc3d1c533ea1976c278 (diff)
downloadmariadb-git-5f64e3e8436c56a4e77879db0b47e7f9672fdad8.tar.gz
Added charset number to result header
Docs/internals.texi: Updated protocol information sql/mysql_priv.h: Removed clear_error_message() sql/mysqld.cc: Removed not used function clear_error_message sql/protocol.cc: Simple code cleanup sql/sql_parse.cc: Changed clear_error_message() to thd->clear_error() Simple optimization.
Diffstat (limited to 'Docs/internals.texi')
-rw-r--r--Docs/internals.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/Docs/internals.texi b/Docs/internals.texi
index a94158f84f8..eac0fd11a07 100644
--- a/Docs/internals.texi
+++ b/Docs/internals.texi
@@ -1719,9 +1719,16 @@ The field description result set contains the meta info for a result set.
@item string @tab Table name alias (or table name if no alias)
@item string @tab Real table name
@item string @tab Alias for column name (or column name if not used)
+
+@item 11 byte @tab Fixed length fields in one field part:
+@itemize
+@item 2 byte int @tab Character set number
@item 3 byte int @tab Length of column definition
@item 1 byte int @tab Enum value for field type
@item 3 byte int @tab 2 byte column flags (NOT_NULL_FLAG etc..) + 1 byte number of decimals.
+@item 2 byte int @tab zero (reserved for future use)
+@end itemize
+
@item string int @tab Default value, only set when using mysql_list_fields().
@end multitable