Drizzled Public API Documentation
Go to the documentation of this file.
39 #define TRX_I_S_MEM_LIMIT 16777216
43 #define TRX_I_S_LOCK_DATA_MAX_LEN 8192
47 #define TRX_I_S_TRX_QUERY_MAX_LEN 1024
51 #define TRX_I_S_TRX_OP_STATE_MAX_LEN 64
55 #define TRX_I_S_TRX_FK_ERROR_MAX_LEN 256
59 #define TRX_I_S_TRX_ISOLATION_LEVEL_MAX_LEN 16
63 #define TRX_I_S_STRING_COPY(data, field, constraint, tcache) \
65 if (strlen(data) > constraint) { \
66 char buff[constraint + 1]; \
67 strncpy(buff, data, constraint); \
68 buff[constraint] = '\0'; \
70 field = static_cast<const char *>(ha_storage_put_memlim( \
71 (tcache)->storage, buff, constraint + 1,\
72 MAX_ALLOWED_FOR_STORAGE(tcache))); \
74 field = static_cast<const char *>(ha_storage_put_str_memlim( \
75 (tcache)->storage, data, \
76 MAX_ALLOWED_FOR_STORAGE(tcache))); \
291 #define TRX_I_S_LOCK_ID_MAX_LEN (TRX_ID_MAX_LEN + 63)