Bugzilla – Bug 262
Beginning a query with unused query name
Last modified: 2010-03-05 01:49:11 PST
According to the 3.2 spec (ver. 20091207), Section 2.14 - Asynchronous Queries: "A query object is created and made active by calling void BeginQuery( enum target, uint id ); target indicates the type of query to be performed; valid values of target are defined in subsequent sections. If id is an unused query object name, the name is marked as used and associated with a new query object of the type specified by target. Otherwise id must be the name of an existing query object of that type. BeginQuery fails and an INVALID_OPERATION error is generated if id is not a name returned from a previous call to GenQueries, or if such a name has since been deleted with DeleteQueries." However, the following 2 lines don't seem to be compatible: 1) "If id is an unused query object name, the name is marked as used and associated with a new query object of the type specified by target" 2) "BeginQuery fails and an INVALID_OPERATION error is generated if id is not a name returned from a previous call to GenQueries, or if such a name has since been deleted with DeleteQueries" I assume the first line should be removed, since application-generated object names have been deprecated.
Someone was messing with Bugzilla. Fixing fields.