Troeger, Thomas (ext) wrote: > Hello, > > Sorry if this has been asked before, I couldn't find any reference to it > in the list archives. I've found a small bug in the documentation, I > wanted to mention it since I think it should be changed accordingly. > > In http://www.sqlite.org/autoinc.html the documentation says: > > """ > The normal ROWID selection algorithm described above will generate > monotonically increasing unique ROWIDs ... > ... > The AUTOINCREMENT Keyword > ... > Note that "monotonically increasing" does not imply that the ROWID > always increases by exactly one. One is the usual increment. ... > """ > > AFAIK, in a monotonically increasing sequence a value is larger *or > equal* to the previous value, while in a *strictly* monotonically > increasing sequence the next value is always larger (see > http://en.wikipedia.org/wiki/Monotonic_function). This is maybe > nitpicking, but I think the documentation should be fixed. > > Regards, > T. > > P.S.: I hope this is the right place to ask such things, I couldn't find > any documentation improvement link, else I would comment on some > spelling errors as well ;-) > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >
Not exactly, in monotonically increasing sequence next element is always smaller than current. Sequence where consecutive elements can be equal is called monotonically nondecreasing sequence. Regards, KoD _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users