diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-03-03 15:44:14 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-03-03 15:44:14 +0100 |
commit | 2ceaffc4672c62a772890da7761d11f13d3f5ee4 (patch) | |
tree | a88f704359d35209d76f0dbb52fe18f7b259e175 /include/m_string.h | |
parent | abb87914ecb4caa1becce4fc4d30c110a6b2c041 (diff) | |
download | mariadb-git-2ceaffc4672c62a772890da7761d11f13d3f5ee4.tar.gz |
mwl:98 - libservices
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/m_string.h b/include/m_string.h index 4bfc4ae51a9..737ad4be606 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -257,16 +257,10 @@ extern size_t my_snprintf(char *to, size_t n, const char *fmt, ...) /* LEX_STRING -- a pair of a C-string and its length. + (it's part of the plugin API as a MYSQL_LEX_STRING) */ -#ifndef _my_plugin_h -/* This definition must match the one given in mysql/plugin.h */ -struct st_mysql_lex_string -{ - char *str; - size_t length; -}; -#endif +#include <mysql/plugin.h> typedef struct st_mysql_lex_string LEX_STRING; #define STRING_WITH_LEN(X) (X), ((size_t) (sizeof(X) - 1)) |