From 448374a228aee3cd867d89f1a1eae9884f5bf434 Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Thu, 15 Jun 2017 16:02:32 +0300 Subject: SQL, IB: (0.10) VTMD tracking [closes #124] IB: Fixes in logic when to do versioned or usual row updates. Now it is able to do unversioned updates for versioned tables just by disabling `TABLE_SHARE::versioned` flag. SQL: DDL tracking for: * RENAME TABLE, ALTER TABLE .. RENAME TO; * DROP TABLE; * data-modifying operations (f.ex. ALTER TABLE .. ADD/DROP COLUMN). --- include/m_string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/m_string.h') diff --git a/include/m_string.h b/include/m_string.h index 708c2562e0f..767bc828daa 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -211,6 +211,7 @@ extern ulonglong strtoull(const char *str, char **ptr, int base); #define STRING_WITH_LEN(X) (X), ((size_t) (sizeof(X) - 1)) #define USTRING_WITH_LEN(X) ((uchar*) X), ((size_t) (sizeof(X) - 1)) #define C_STRING_WITH_LEN(X) ((char *) (X)), ((size_t) (sizeof(X) - 1)) +#define LEX_STRING_WITH_LEN(X) (X).str, (X).length struct st_mysql_const_lex_string { -- cgit v1.2.1