mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
This commit is contained in:
commit
eeecb84050
1 changed files with 9 additions and 0 deletions
|
@ -2867,7 +2867,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…
Add table
Reference in a new issue