Vladimir Kolesnikov wrote:
Hi all!

I have just pushed an important fix for a bug that sometimes caused index scans to hang. Rev.1052.

Hi!

Just pulled latest and am getting the following compile error:

btw, I am using: gcc 4.3.2 and configure'ing --with-debug

It is the --with-debug that will show the failures....

plugin/pbxt/src/ha_pbxt.cc: In member function ‘virtual int PBXTStorageEngine::doCreateTable(Session*, const char*, Table&, HA_CREATE_INFO&, drizzled::message::Table&)’: plugin/pbxt/src/ha_pbxt.cc:5412: error: base operand of ‘->’ has non-pointer type ‘st_ha_create_information’

The fix is simple.  Line 5412 must change from:

XT_PRINT2(self, "create (%s) %s\n", table_path, (create_info->options & HA_LEX_CREATE_TMP_TABLE) ? "temporary" : "");

to:

XT_PRINT2(self, "create (%s) %s\n", table_path, (create_info.options & HA_LEX_CREATE_TMP_TABLE) ? "temporary" : "");

After that, compiles just fine. :)

Cheers!

Jay

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to