Added support for ha_ndbcluster::info(HA_STATUS_AUTO)
This commit is contained in:
parent
a4d6113d22
commit
7ccf9b9708
@ -2826,7 +2826,16 @@ void ha_ndbcluster::info(uint flag)
|
||||
errkey= m_dupkey;
|
||||
}
|
||||
if (flag & HA_STATUS_AUTO)
|
||||
{
|
||||
DBUG_PRINT("info", ("HA_STATUS_AUTO"));
|
||||
if (m_table)
|
||||
{
|
||||
Ndb *ndb= get_ndb();
|
||||
|
||||
auto_increment_value=
|
||||
ndb->readAutoIncrementValue((const NDBTAB *) m_table);
|
||||
}
|
||||
}
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user