Yes, adding one, running all test cases first to check that there
is not already some show create table; on table with auto_increment > 1.
Also modifiying the patch slightly, after first auto_inc column is found
I always break; regrdless if > 1 or not, since there can only be one.
BR
-- Martin
Jonas Oreland wrote:
> Martin Skold wrote:
>> #At file:///home/marty/MySQL/mysql-5.1-telco-6.2/
>>
>> 3016 Martin Skold 2009-10-07
>> Bug#47865 SHOW CREATE TABLE does not show the current
>> auto_increment number for ndb tables: reading auto_increment value in
>> ha_ndbcluster::update_create_info
>> modified:
>> sql/ha_ndbcluster.cc
>
> looks good, but where is the testcase ?
>