|
24 | 24 | // Define Ndb standard tables |
25 | 25 | // |
26 | 26 | // USE ONLY UPPERLETTERS IN TAB AND COLUMN NAMES |
| 27 | +// |
| 28 | +// Tables need to have at least two Unsigned columns. |
| 29 | +// The first found will be used as id. |
| 30 | +// The last found which is not part of primary key will be used for update |
| 31 | +// count. See HugoCalculator. |
| 32 | +// |
27 | 33 | /* ******************************************************* */ |
28 | 34 |
|
29 | 35 | static const NdbDictionary::Column::StorageType MM= |
@@ -603,9 +609,9 @@ NDBT_Table T16("T16", sizeof(T16Attribs)/sizeof(NDBT_Attribute), T16Attribs); |
603 | 609 | static |
604 | 610 | const |
605 | 611 | NDBT_Attribute T18Attribs[] = { |
606 | | - NDBT_Attribute("PK1", NdbDictionary::Column::Int, 1, true), |
607 | | - NDBT_Attribute("PK2", NdbDictionary::Column::Int, 1, true), |
608 | | - NDBT_Attribute("A1", NdbDictionary::Column::Int, 1), |
| 612 | + NDBT_Attribute("PK1", NdbDictionary::Column::Unsigned, 1, true), |
| 613 | + NDBT_Attribute("PK2", NdbDictionary::Column::Unsigned, 1, true), |
| 614 | + NDBT_Attribute("A1", NdbDictionary::Column::Unsigned, 1), |
609 | 615 | }; |
610 | 616 |
|
611 | 617 | static |
|
0 commit comments