From 6cdebb33d7849adb90015ecd4a7312de81200de0 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Jun 2002 14:13:12 -0700 Subject: sql_error.cc, sql_prepare.cc: new file Client-server protocol 4.1 changes - Server side: * Enhanced metadata information: - SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows] - SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows] - SHOW TABLE TYPES - SHOW PRIVILEGES - SHOW COLUMN TYPES (Not fully implemented) * Prepared execution * Long data handling in pieces * And other misc changes --- sql/structs.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'sql/structs.h') diff --git a/sql/structs.h b/sql/structs.h index 75280b34715..c4cb6c82209 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -152,6 +152,29 @@ struct show_var_st { SHOW_TYPE type; }; +struct show_table_type_st { + const char *type; + char *value; + const char *comment; +}; + +struct show_column_type_st { + const char *type; + uint size; + const char *min_value; + const char *max_value; + uint precision; + uint scale; + const char *nullable; + const char *auto_increment; + const char *unsigned_attr; + const char *zerofill; + const char *searchable; + const char *case_sensitivity; + const char *default_value; + const char *comment; +}; + typedef struct lex_string { char *str; uint length; -- cgit v1.2.1