Navigation Menu

Skip to content

Commit

Permalink
mysql57: follow init_sql_alloc() API change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 22, 2015
1 parent 5b34f19 commit d2339ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mrn_mysql_compat.h
Expand Up @@ -221,10 +221,18 @@
MYF(0))
# endif
#else
# if MYSQL_VERSION_ID >= 50709
# define mrn_init_sql_alloc(thd, mem_root) \
init_sql_alloc(mrn_memory_key, \
mem_root, \
TABLE_ALLOC_BLOCK_SIZE, \
0)
# else
# define mrn_init_sql_alloc(thd, mem_root) \
init_sql_alloc(mem_root, \
TABLE_ALLOC_BLOCK_SIZE, \
0)
# endif
#endif

#ifdef MRN_MARIADB_P
Expand Down

0 comments on commit d2339ad

Please sign in to comment.