Make InnoDB pluggable. That is, merge the modifications from MySQL WL#2936
and adapt some things. Note that ha_innodb.cc depends on mysql_tmpfile() being declared in <mysql/plugin.h>. Until the function is declared there, you can uncomment the buggy definition of mysql_tmpfile in ha_innodb.cc. Remove storage/innobase/*/Makefile.am. The whole compilation is driven by storage/innobase/Makefile.am and storage/innobase/plug.in. plug.in: Declare InnoDB as a dynamic plugin. ha_innodb.h: Remove the declarations of many global variables. The variables are no longer directly referenced outside of storage/innobase. trx_t: Add the field trx->duplicates. trx_create(): Initialize the fields trx->active_trans and trx->duplicates. innobase_query_is_update(): Remove. Consult trx->duplicates instead.
Showing
btr/Makefile.am
deleted
100644 → 0
buf/Makefile.am
deleted
100644 → 0
data/Makefile.am
deleted
100644 → 0
dict/Makefile.am
deleted
100644 → 0
dyn/Makefile.am
deleted
100644 → 0
eval/Makefile.am
deleted
100644 → 0
fil/Makefile.am
deleted
100644 → 0
fsp/Makefile.am
deleted
100644 → 0
fut/Makefile.am
deleted
100644 → 0
ha/Makefile.am
deleted
100644 → 0
handler/Makefile.am
deleted
100644 → 0
ibuf/Makefile.am
deleted
100644 → 0
include/Makefile.i
deleted
100644 → 0
lock/Makefile.am
deleted
100644 → 0
log/Makefile.am
deleted
100644 → 0
mach/Makefile.am
deleted
100644 → 0
mem/Makefile.am
deleted
100644 → 0
mtr/Makefile.am
deleted
100644 → 0
os/Makefile.am
deleted
100644 → 0
page/Makefile.am
deleted
100644 → 0
pars/Makefile.am
deleted
100644 → 0
que/Makefile.am
deleted
100644 → 0
read/Makefile.am
deleted
100644 → 0
rem/Makefile.am
deleted
100644 → 0
row/Makefile.am
deleted
100644 → 0
srv/Makefile.am
deleted
100644 → 0
sync/Makefile.am
deleted
100644 → 0
thr/Makefile.am
deleted
100644 → 0
trx/Makefile.am
deleted
100644 → 0
usr/Makefile.am
deleted
100644 → 0
ut/Makefile.am
deleted
100644 → 0
Please register or sign in to comment