Subversion Repositories oidplus

Rev

Rev 1149 | Rev 1181 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1149 Rev 1156
Line 359... Line 359...
359
                                                                    "parent in (select oid from ###asn1id where well_known = ?) or " .
359
                                                                    "parent in (select oid from ###asn1id where well_known = ?) or " .
360
                                                                    "parent in (select oid from ###iri where well_known = ?)) and " .
360
                                                                    "parent in (select oid from ###iri where well_known = ?)) and " .
361
                                                                    // We assume hereby that RAs of well-known OIDs (e.g. IANA) will not use OIDplus for allocating OIDs:
361
                                                                    // We assume hereby that RAs of well-known OIDs (e.g. IANA) will not use OIDplus for allocating OIDs:
362
                                                                    "id not in (select oid from ###asn1id where well_known = ?) and " .
362
                                                                    "id not in (select oid from ###asn1id where well_known = ?) and " .
363
                                                                    "id not in (select oid from ###iri where well_known = ?)", array(true, true, true, true));
363
                                                                    "id not in (select oid from ###iri where well_known = ?)", array(true, true, true, true));
364
                                        $res = new OIDplusNaturalSortedQueryResult($res, 'id');
364
                                        $res->naturalSortByField('id');
365
                                        while ($row = $res->fetch_array()) {
365
                                        while ($row = $res->fetch_array()) {
366
                                                $root_oids[] = substr($row['id'],strlen('oid:'));
366
                                                $root_oids[] = substr($row['id'],strlen('oid:'));
367
                                        }
367
                                        }
368
                                }
368
                                }
369
                        }
369
                        }