Go to the documentation of this file.
38 #define TRX_I_S_MEM_LIMIT 16777216
42 #define TRX_I_S_LOCK_DATA_MAX_LEN 8192
46 #define TRX_I_S_TRX_QUERY_MAX_LEN 1024
50 #define TRX_I_S_TRX_OP_STATE_MAX_LEN 64
54 #define TRX_I_S_TRX_FK_ERROR_MAX_LEN 256
58 #define TRX_I_S_TRX_ISOLATION_LEVEL_MAX_LEN 16
62 #define TRX_I_S_STRING_COPY(data, field, constraint, tcache) \
64 if (strlen(data) > constraint) { \
65 char buff[constraint + 1]; \
66 strncpy(buff, data, constraint); \
67 buff[constraint] = '\0'; \
69 field = static_cast<const char*>( \
70 ha_storage_put_memlim( \
71 (tcache)->storage, buff, constraint + 1,\
72 MAX_ALLOWED_FOR_STORAGE(tcache))); \
74 field = static_cast<const char*>( \
75 ha_storage_put_str_memlim( \
76 (tcache)->storage, data, \
77 MAX_ALLOWED_FOR_STORAGE(tcache))); \
186 struct trx_i_s_cache_t;
207 trx_i_s_cache_t* cache);
214 trx_i_s_cache_t* cache);
222 trx_i_s_cache_t* cache);
230 trx_i_s_cache_t* cache);
238 trx_i_s_cache_t* cache);
246 trx_i_s_cache_t* cache);
257 trx_i_s_cache_t* cache,
268 trx_i_s_cache_t* cache,
279 trx_i_s_cache_t* cache);
289 trx_i_s_cache_t* cache);
294 #define TRX_I_S_LOCK_ID_MAX_LEN (TRX_ID_MAX_LEN + 63)