/ RowNumber: return the ordinal number of the current row. */ /
| 1953 | /* RowNumber: return the ordinal number of the current row. */ |
| 1954 | /***********************************************************************/ |
| 1955 | int TDBDOS::RowNumber(PGLOBAL g, bool) |
| 1956 | { |
| 1957 | if (To_Kindex) { |
| 1958 | /*******************************************************************/ |
| 1959 | /* Don't know how to retrieve RowID from file address. */ |
| 1960 | /*******************************************************************/ |
| 1961 | snprintf(g->Message, sizeof(g->Message), MSG(NO_ROWID_FOR_AM), |
| 1962 | GetAmName(g, Txfp->GetAmType())); |
| 1963 | return 0; |
| 1964 | } else |
| 1965 | return Txfp->GetRowID(); |
| 1966 | |
| 1967 | } // end of RowNumber |
| 1968 | |
| 1969 | /***********************************************************************/ |
| 1970 | /* DOS Cardinality: returns table cardinality in number of rows. */ |
no test coverage detected