diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-06-15 16:02:32 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-06-19 15:21:39 +0300 |
commit | 448374a228aee3cd867d89f1a1eae9884f5bf434 (patch) | |
tree | eb21e9fc41102454aacc899fb0443601e9aef0b1 /include/m_string.h | |
parent | efaa0d66dafc44d994054c7d6ff160cb295a0bf6 (diff) | |
download | mariadb-git-448374a228aee3cd867d89f1a1eae9884f5bf434.tar.gz |
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).
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |