summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2002-06-12 14:13:12 -0700
committerunknown <venu@myvenu.com>2002-06-12 14:13:12 -0700
commit6cdebb33d7849adb90015ecd4a7312de81200de0 (patch)
treec259cc4fb9ea2857ea92e18b183d51a0289b2270 /sql/structs.h
parent049a8386f3ce99e689f1dc3e562c29e7d8113e71 (diff)
downloadmariadb-git-6cdebb33d7849adb90015ecd4a7312de81200de0.tar.gz
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
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h23
1 files changed, 23 insertions, 0 deletions
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;