summaryrefslogtreecommitdiff
path: root/include/ma_dyncol.h
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2012-12-23 22:17:22 +0200
committerunknown <sanja@askmonty.org>2012-12-23 22:17:22 +0200
commit082ff5931770ed70df0ec1e85f81fa880a4d9e62 (patch)
tree4579610f7b0a509a97226da3cfc65ec26a018281 /include/ma_dyncol.h
parent40ae63dd65fb9e812f29d3520acb0ba6b64d3005 (diff)
downloadmariadb-git-082ff5931770ed70df0ec1e85f81fa880a4d9e62.tar.gz
Post-post review fixes.
Diffstat (limited to 'include/ma_dyncol.h')
-rw-r--r--include/ma_dyncol.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/include/ma_dyncol.h b/include/ma_dyncol.h
index 78d3f15978c..7f888759207 100644
--- a/include/ma_dyncol.h
+++ b/include/ma_dyncol.h
@@ -34,13 +34,6 @@
#include <mysql_time.h>
/*
- Max length for data in a dynamic colums. This comes from how the
- how the offset are stored.
-*/
-#define MAX_DYNAMIC_COLUMN_LENGTH 0X1FFFFFFFL
-#define MAX_DYNAMIC_COLUMN_LENGTH_NM 0XFFFFFFFFFL
-
-/*
Limits of implementation
*/
#define MAX_TOTAL_NAME_LENGTH 65535
@@ -101,7 +94,6 @@ struct st_dynamic_column_value
typedef struct st_dynamic_column_value DYNAMIC_COLUMN_VALUE;
-/* old functions (deprecated) */
#ifdef MADYNCOL_DEPRECATED
enum enum_dyncol_func_result
dynamic_column_create(DYNAMIC_COLUMN *str,
@@ -168,7 +160,7 @@ mariadb_dyncol_exists_named(DYNAMIC_COLUMN *str, LEX_STRING *name);
/* List of not NULL columns */
enum enum_dyncol_func_result
-mariadb_dyncol_list(DYNAMIC_COLUMN *org, DYNAMIC_ARRAY *array_of_uint);
+mariadb_dyncol_list(DYNAMIC_COLUMN *str, uint *count, uint **nums);
enum enum_dyncol_func_result
mariadb_dyncol_list_named(DYNAMIC_COLUMN *str, uint *count, LEX_STRING **names);
@@ -213,17 +205,11 @@ int mariadb_dyncol_column_cmp_named(const LEX_STRING *s1, const LEX_STRING *s2);
enum enum_dyncol_func_result
mariadb_dyncol_column_count(DYNAMIC_COLUMN *str, uint *column_count);
-/***************************************************************************
- Internal functions, don't use if you don't know what you are doing...
-***************************************************************************/
-
-#define mariadb_dyncol_reassociate(V,P,L, A) dynstr_reassociate((V),(P),(L),(A))
-
-#define dyncol_value_init(V) (V)->type= DYN_COL_NULL
+#define mariadb_dyncol_value_init(V) (V)->type= DYN_COL_NULL
/*
Prepare value for using as decimal
*/
-void dynamic_column_prepare_decimal(DYNAMIC_COLUMN_VALUE *value);
+void mariadb_dyncol_prepare_decimal(DYNAMIC_COLUMN_VALUE *value);
#endif