diff options
author | tomas@poseidon.mysql.com <> | 2007-02-14 15:16:26 +0700 |
---|---|---|
committer | tomas@poseidon.mysql.com <> | 2007-02-14 15:16:26 +0700 |
commit | 120eaec17c53080984be3372dc392e54b4e9e6f2 (patch) | |
tree | 43b4e72924fee9ee27953f2c6268bcaefe4b5611 /sql/ha_ndbcluster.cc | |
parent | 1254253640d14dde8684ca29b8cc627ee6d2deef (diff) | |
download | mariadb-git-120eaec17c53080984be3372dc392e54b4e9e6f2.tar.gz |
Bug #21033 Error 0 in readAutoIncrementValue()
- do not call function if table has no autoincrement
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 30be53f1ddb..3d0d8a3f079 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -3245,7 +3245,7 @@ int ha_ndbcluster::info(uint flag) if (flag & HA_STATUS_AUTO) { DBUG_PRINT("info", ("HA_STATUS_AUTO")); - if (m_table) + if (m_table && table->found_next_number_field) { Ndb *ndb= get_ndb(); |