summaryrefslogtreecommitdiff
path: root/include/ma_dyncol.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-19 09:58:18 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-19 09:58:18 +0100
commit1fa1ea0f2df62796a89df8f00f49a4e77d7cf478 (patch)
treec7ff91426f72cb4f3bad1303d41751f1032d0d34 /include/ma_dyncol.h
parente853b6ccfda237157f3fe78afe7fbfe048bd76a0 (diff)
downloadmariadb-git-1fa1ea0f2df62796a89df8f00f49a4e77d7cf478.tar.gz
MDEV-5404 Can't free data returned by mariadb_dyncol_unpack on windows
add mariadb_dyncol_unpack_free()
Diffstat (limited to 'include/ma_dyncol.h')
-rw-r--r--include/ma_dyncol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ma_dyncol.h b/include/ma_dyncol.h
index cacd8f66c50..cb03ccb5382 100644
--- a/include/ma_dyncol.h
+++ b/include/ma_dyncol.h
@@ -220,6 +220,9 @@ mariadb_dyncol_unpack(DYNAMIC_COLUMN *str,
uint *count,
MYSQL_LEX_STRING **names, DYNAMIC_COLUMN_VALUE **vals);
+void mariadb_dyncol_unpack_free(MYSQL_LEX_STRING *names,
+ DYNAMIC_COLUMN_VALUE *vals);
+
int mariadb_dyncol_column_cmp_named(const MYSQL_LEX_STRING *s1,
const MYSQL_LEX_STRING *s2);