~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/ha_xtsys.cc

  • Committer: tdavies
  • Date: 2010-10-02 04:28:26 UTC
  • mto: (1813.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1814.
  • Revision ID: tdavies@molly-20101002042826-n7s0ywccicg7nnk9
In .../drizzled/structs.h: Changed C structs KeyPartInfo, KeyInfo, and RegInfo to C++ classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 *
19
19
 * Paul McCullagh
20
20
 *
59
59
 */
60
60
 
61
61
#ifdef DRIZZLED
62
 
ha_xtsys::ha_xtsys(handlerton *hton, Table& table_arg):
 
62
ha_xtsys::ha_xtsys(handlerton *hton, TableShare& table_arg):
63
63
handler(*hton, table_arg),
64
64
ha_open_tab(NULL)
65
65
{
96
96
        try_(a) {
97
97
                xt_ha_open_database_of_table(self, (XTPathStrPtr) table_path);
98
98
 
99
 
                ha_open_tab = XTSystemTableShare::openSystemTable(self, table_path, getTable());
 
99
                ha_open_tab = XTSystemTableShare::openSystemTable(self, table_path, table);
100
100
                MYSQL_INIT_LOCK(ha_lock, ha_open_tab->ost_share->sts_my_lock);
101
101
                ref_length = ha_open_tab->getRefLen();
102
102
        }