diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-03-22 17:28:45 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-03-22 17:28:45 +0100 |
commit | dfa9a7641104686b588af016aa58cf46a9db093f (patch) | |
tree | 13ff1dd1b322b6729fa72ced3c85f32b5c78262e /storage/ndb/src/ndbapi/NdbReceiver.cpp | |
parent | 0fcf49b448321d2b9d13e2c0310fd0537bf7d766 (diff) | |
download | mariadb-git-dfa9a7641104686b588af016aa58cf46a9db093f.tar.gz |
ndb: removed TransporterFacade singleton
Diffstat (limited to 'storage/ndb/src/ndbapi/NdbReceiver.cpp')
-rw-r--r-- | storage/ndb/src/ndbapi/NdbReceiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/src/ndbapi/NdbReceiver.cpp b/storage/ndb/src/ndbapi/NdbReceiver.cpp index 95c2cf10b61..0e83be75679 100644 --- a/storage/ndb/src/ndbapi/NdbReceiver.cpp +++ b/storage/ndb/src/ndbapi/NdbReceiver.cpp @@ -101,7 +101,7 @@ NdbReceiver::calculate_batch_size(Uint32 key_size, Uint32& batch_byte_size, Uint32& first_batch_size) { - TransporterFacade *tp= TransporterFacade::instance(); + TransporterFacade *tp= m_ndb->theImpl->m_transporter_facade; Uint32 max_scan_batch_size= tp->get_scan_batch_size(); Uint32 max_batch_byte_size= tp->get_batch_byte_size(); Uint32 max_batch_size= tp->get_batch_size(); |