waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

API Documentation Error #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Comparing the values reurned from querying the sysindexes view in Informix 
11.10. I believe the ibm_db.statistics api documentation is incorrect. 

It says "
NON_UNIQUE:: An integer value representing whether the index prohibits unique 
values, or whether the row represents statistics on the table itself:

    Return value:: Parameter type 0 (SQL_FALSE):: The index allows duplicate values. 

    1. (SQL_TRUE):: The index values must be unique. 

    NULL:: This row is statistics information for the table itself
"

Unique indexes return a 0, while indexes that allow duplicates return 1.

Original issue reported on code.google.com by ro...@cargotel.com on 11 Jun 2015 at 5:44