lp:~jaypipes/drizzle/xa-storage-engine
- Get this branch:
- bzr branch lp:~jaypipes/drizzle/xa-storage-engine
Branch merges
- Brian Aker: Pending requested
- Drizzle Developers: Pending requested
-
Diff: 3604 lines (+1232/-795)31 files modifieddrizzled/cursor.cc (+14/-14)
drizzled/cursor.h (+1/-1)
drizzled/drizzled.cc (+2/-1)
drizzled/filesort.cc (+2/-1)
drizzled/handler_structs.h (+0/-46)
drizzled/include.am (+7/-2)
drizzled/named_savepoint.h (+31/-5)
drizzled/plugin/storage_engine.cc (+52/-287)
drizzled/plugin/storage_engine.h (+7/-76)
drizzled/plugin/transactional_storage_engine.cc (+116/-0)
drizzled/plugin/transactional_storage_engine.h (+164/-0)
drizzled/plugin/xa_storage_engine.cc (+237/-0)
drizzled/plugin/xa_storage_engine.h (+108/-0)
drizzled/resource_context.cc (+32/-64)
drizzled/resource_context.h (+75/-51)
drizzled/select_send.h (+3/-2)
drizzled/session.cc (+6/-20)
drizzled/session.h (+9/-12)
drizzled/set_var.cc (+0/-2)
drizzled/sql_delete.cc (+5/-5)
drizzled/sql_insert.cc (+14/-19)
drizzled/sql_load.cc (+3/-3)
drizzled/sql_parse.cc (+1/-1)
drizzled/sql_update.cc (+5/-5)
drizzled/statement/rollback_to_savepoint.cc (+2/-2)
drizzled/table.cc (+3/-2)
drizzled/transaction_context.h (+86/-0)
drizzled/transaction_services.cc (+188/-129)
drizzled/transaction_services.h (+2/-2)
plugin/innobase/handler/ha_innodb.cc (+43/-43)
plugin/innobase/handler/ha_innodb.h (+14/-0)
Related bugs
Related blueprints
Recent revisions
- 1292. By Jay Pipes <jpipes@serialcoder>
-
fix for include.am having non-existent transaction_
context. cc - 1288. By Jay Pipes <jpipes@serialcoder>
-
This patch completes the first step in the splitting of
the XA resource manager API from the storage engine API,
as outlined in the specification here:http://
drizzle. org/wiki/ XaStorageEngine * Splits plugin:
:StorageEngine into a base StorageEngine
class and two derived classes, TransactionalStorageEngine
and XaStorageEngine. XaStorageEngine derives from
TransactionalStorageEngine and creates the XA Resource
Manager API for storage engines.- The methods moved from StorageEngine to TransactionalSt
orageEngine
include releaseTemporaryLatches( ), startConsistent Snapshot( ),
commit(), rollback(), setSavepoint(), releaseSavepoint(),
rollbackToSavepoint( ) and hasTwoPhaseCommit()
- The methods moved from StorageEngine to XaStorageEngine
include recover(), commitXid(), rollbackXid(), and prepare()* Places all static "EngineVector"s into their proper
namespaces (typedefs belong in header files, not implementation files)
and places all static methods corresponding
to either only transactional engines or only XA engines
into their respective files in /drizzled/plugin/* Modifies the InnoDB "handler" files to extend plugin:
:XaStorageEngin e
and not plugin::StorageEngine The next step, as outlined in the wiki spec page above, is to isolate
the XA Resource Manager API into its own plugin class and modify
plugin::XaStorageEngin e to implement plugin: :XaResourceMana ger via
composition. This is necessary to enable building plugins which can
participate in an XA transaction *without having to have that plugin
implement the entire storage engine API* - 1286. By Jay Pipes <jpipes@serialcoder>
-
Style cleanup around TransactionCont
ext::modified_ non_trans_ table and dead code removal - 1285. By Jay Pipes <jpipes@serialcoder>
-
Cleanup style and documentation for ResourceContext and setTransactionR
eadWrite - 1283. By Jay Pipes <jpipes@serialcoder>
-
* Renames Ha_trx_info to drizzled:
:ResourceContex t
* Renames Sesssion_TRANS to drizzled::TransactionCon text
* Replaces homegrown linked-lists of Ha_trx_info pointers
with vector<drizzled: :ResourceContex t> operations
* Renames Session::getEngineInfo( ) to Session: :getResourceCon text()
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~drizzle-trunk/drizzle/development