Index with "or" clause (BUG still exists?)

The change log for 2.3.10 mentions "Fixed a bug that caused incorrect query plans to be generated for predicates that used the "or" operator in conjunction with indexes [#15328]."
But looks like the Bug still exists.
I am listing the steps to-repro. Let me know if i have missed something (or if the bug needs to be fixed)
DATA
dbxml> openContainer test.dbxml
dbxml> getDocuments
2 documents found
dbxml> print
<node><value>a</value></node>
<node><value>b</value></node>
INDEX (just one string equality index on node "value")
dbxml> listIndexes
Index: unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:name
Index: node-element-equality-string for node {}:value
2 indexes found.
QUERY
setVerbose 2 2
preload test.dbxml
query 'let $temp := fn:compare("test", "test") = 0
let $results := for $i in collection("test.dbxml")
where ($temp or $i/node[value = ("a")])
return $i
return <out>{$temp}{$results}</out>'
When $temp is true i expected the result set to contain both the records, but that was not the case with the index. It works well when there is no index!
Result WITH INDEX
dbxml> print
<out>true<node><value>a</value></node></out>
Result WITHOUT INDEX
dbxml> print
<out>true<node><value>a</value></node><node><value>b</value></node></out>

Hi Vijay,
This is a completely different bug, relating to predicate expressions that do not examine nodes. Please try the following patch, to see if it fixes this bug for you:
--- dbxml-2.3.10-original/dbxml/src/dbxml/optimizer/QueryPlanGenerator.cpp     2007-04-18 10:05:24.000000000 +0100
+++ dbxml-2.3.10/dbxml/src/dbxml/optimizer/QueryPlanGenerator.cpp     2007-08-08 11:32:10.000000000 +0100
@@ -1566,11 +1572,12 @@
     else if(name == Or::name) {
          UnionQP *unionOp = new (&memMgr_) UnionQP(&memMgr_);
+          result.operation = unionOp;
          for(VectorOfASTNodes::iterator i = args.begin(); i != args.end(); ++i) {
               PathResult ret = generate(*i, ids);
               unionOp->addArg(ret.operation);
+               if(ret.operation == 0) result.operation = 0;
-          result.operation = unionOp;
     // These operators use the presence of the node arguments, not their valueJohn

Similar Messages

  • Does the "Warning! Not Enough Memory" bug still exist in Logic 8?

    Hello everyone,
    I'm wondering if the dreaded "warning, not enough memory" bug still exists in Logic 8. Here is a detailed account of the bug from Logic 7: http://discussions.apple.com/thread.jspa?messageID=767597&#767597
    If this is fixed, I'm seriously considering upgrading mid-project! The film score I'm working on has many doubling parts that I'd like to edit at the same time in the matrix editor. However, editing multiple parts in the matrix editor seems provoke the little bugger, and I've already been bitten a few times in this project already. The only solution I've found is to stay clear of editing multiple parts at once (i.e. edit each parts individually, which obviously takes more time) or save before editing and hope I dont get bit.
    I would LOVE to hear a report that this bug has been exterminated, and perhaps may upgrade mid project if thats the case.
    Thanks in advance for your reply!

    Heya,
    I'm not familiar with the bug you're talking about. But would, as a fellow film composer, strongly urge you against the mid project switch.
    I loaded in LP8 and ofcourse had a look at what it was all about, and it's really really fantastic. It also seems very stable. I fortunately have a side project that I am working on so switched to LP8 for that. Whilst I'm thankful to get my head around a very new approach for logic, I'm also thankful that I have this side project as it has illuminated a multitude of problems that exist with LP8 that would make any scoring process a bit of a headache to say the least. The main one being that if you don't have a very very powerful mac (I'm prepping a really fully loaded 8 core) you are not going to get anywhere near the performance out of Logic as you do with 7. This is a bottom up overhaul and it needs hardware to match. Heck even my 30" cinema display seems cramped and insubstantial on this new version. I would be so bold to say hold off until you have a hearty new mac and at least 8.2 is released IMHO but maybe try and get on it onto a smaller project to familiarize yourself before hand.

  • 001 No pymt possible because items with a debit bal.still exist; see job...

    Hey All:
    I have this message/error/exception in payment run job log.
    <b>001 No pymt possible because items with a debit bal.still exist; see job log</b>
    However,payment has been done by F110S.
    Any views on why, Is that message just a warning...if so...can we change that into error...and manage not to get that payment done.
    Plz advice.......kinda emergency.
    Sri

    Hi,
    Please see OSS Note : 156793
    Symptom
    In the list of exceptions RFZALI10 or RFZALI20, vendors with a debit balance are listed with item indicator 006 "no valid payment method". Before the upgrade, these vendors were output correctly with´ item indicator 001 "No pymt possible because items with a debit bal. still exist; see job log".
    Cause and prerequisites
    The precondition for the occurrence of the symptom is that you have implemented Note 150631 in its first version or via Support Package 18 (Release 4.0B) or 02 (Release 4.5B).
    Solution The error is corrected with Support Package 21 for Release 4.0B, or Support Package 04 for Release 4.5B. An advance correction is available. To do this implement the additional source code corrections in the attachment to Note 150631.
    Hope this help..

  • F110 No pymt possib because items with a debit bal.still exist; see job lo

    Hi Experts,
    I have vendor line items Rs 25000 alongwith that credit memo Rs 5000 with document type RI (RI- MM Invest invoice). However when we execute the payment run for this venodr it has gone into error "No pymt possib because items with a debit bal.still exist; see job log". When We replicate a test case with document type RE ( RE-MM invoice ) it was allowed to reallocate credit memo value againt the invoice, but same is not happening with credit memo with document type RI.
    Both the credit memo(RI and RE) created against original purchase order, however when we create the credit memo with document type RI, Invest ID checked automatically in line item level. Is invest ID is causing for an error .
    Please somebody help me on this.
    Edited by: Mahesh Manchikeri on Mar 11, 2011 9:43 AM

    Hi Mauri/ Srnivas,
    Thanks for your reply.
    In this case payment program is selecting  credit memos with document type RI (RI- MM Invest invoice) as wells as document type RE ( RE-MM invoice ).
    In my test case I have created  two credit memo reference to purchase order via transaction code MIRO with different document type RE and RI. If I take document type RI (RI- MM Invest invoice) invest ID is automatically checked at line item level 1 of the accouting document( ie vendor line item level).
    And I have created one more credit memo with document type RE with reference to same PO, Invest ID is not ticket automatically at document line item level.
    When we ran payment run vis F110,  there is no issue with credit memo with document type RE, because I can reallocate credit memo value against the orignal invoice value, however in case of credit memo with document type RI going into exception  F110 No pymt possib because items with a debit bal.still exist; see job log.
    It is seems that because of substitution rule assigned to document type RI with K (Vendor ) Invest ID is automatically picked in the document line item level.
    Please let me know if you have any input on this issue.

  • F110 No pymt possible because items with a debit bal.still exist

    Hello FI gurus,
    I am getting a Vendor in the exceptions list in F110 with the message: No pymt possible because items with a debit bal.still exist.
    The Vendor has a Debit balance. There are 3 invoices (total 50,000 INR) and 1 Debit memo (52,000 INR).
    Is there any way that I can block the Debit memo and make a payment of 50,000 INR?

    Hi,
    Put the payment Block A in the Debit line Item.
    F110 wil then ignore Debit item and pick the credits for payment

  • 3.1EA2 Old bug with German language settings still exists

    In the past I wrote several times about a bug in SQL Developer when running in German language mode. This bug is still not fixed in 3.1 EA2:
    In new folders for user definded reports only the options "Kopieren" and "Speichern unter ..." ('Copy' and 'Cave as') are available, when SQL-Deverloper runs in German language mode. Other options like "Bearbeiten, Neuer Ordner, Neuer Bericht, Ausschneiden, Einfügen, Löschen" (Edit, New Folder, New Report, Cut, Paste, Delete) are missing. A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf
    I mentioned it first in Re: Folders with limited functionality about version 2.1.1.64 and then in 30EA2: Limited folder functionality with German language 3.0 EA2 and German language bug with user defined reports still not fixed Beta Release 3.0 EA3
    Edited by: user1775992 on 22.11.2011 03:30

    I have raised a bug on this issue and I am actively looking into it.

  • Old kexi bug still exists?

    So I was looking into using something other than phpMyAdmin for editing my databases, so I looked into kexi.  When I used the import "Structure and Data" option, it just populates the tables with empty values.
    After some searching, I found that this use to be an issue a while back: Problem and Resolution.
    Can anyone else confirm this as a still-existing (or reoccurring) bug?
    Or, am I just messing something up along the way?
    Thanks.

    I hope someone can help me... it is very important and i am desperate for answers (BUMP)

  • PDF From MS Word 2010 Reported Bug Still Exists

    I need to create a PDF file today that contains images in a MS Word 2010 document.  There is a bug in Acrobat XI Professional  that I reported months ago.  This bug is still here, and now I need help.  Can anyone tell me what I can do to fix this issue?
    Here is what happens, and I just reproduced this problem I found awhile back.  As I stated, I did report it, but this issue is still here!
    I am creating a user guide for software.  I insert BMP images that are screen shots.  On any page where a BMP image exists within Word, the resulting PDF document does not allow selecting of text in Acrobat Reader XI.  The selection goes totally insane and highlights random text through the entire page.  This is a software defect for certain.
    My question is can I easily fix this with minimal time?  I had to fix this last time by removing all images from MS Word and instead pasting the image in Acrobat XI.  When I do this, selecting text works.  The problem with this bug work-around is that this take lots of time (that I do not have).
    Help please???

    I found something even better.  There is a non Adobe PDF creator on my office computer that correctly creates a PDF.   The issue is within PDF creation, because I am using Acrobat Reader XI and selecting text with no problem at all.
    I did not have to change a thing other than not use Adobe Acrobat Professional to create the PDF.  The software that works correctly where Adobe's own fails is called PDF Xchange Driver by Tracker Software Products LTD.
    ...and as I already stated, I reported this issue many months ago...

  • 8.0.2 horrendous bug still exists!!!!!!!!!!!!!

    The effects and sample caching bug is horrendous in my opinion. It's been there for years. It wastes huge amounts of my time. While there are some things you can do to minimize these glitches, there are NO 100% reliable work arounds. If you work in Logic and want a professional result you absolutely must listen to the finished bounce very carefully for glitches. These glitches come in many forms and will often times only be noticed after you receive the finished product from the mastering house.
    The main culprits are:
    1. Reverb and delay tails. If you have reverb or delay on a track and you stop playback and move your position, the reverb or delay will begin where it left off.
    2. Samples. For example I often replace kicks and snares with samples. When I go to start a bounce random samples will play at the beginning of the track.
    3. Clicks from compressor and EQ plug ins. These are less obvious, but generally mastering brings them out loud and clear after it's too late.
    Keep in mind that these glitches don't generally happen until a split second before a region starts. That means it is very common for them to happen in the middle of the song. Starting and stopping playback a few times does NOT completely clear the cache.
    It's a total craps shoot and the most embarrassing, time wasting aspect of Logic.
    I really wish I could trust Logic to give me a bounce that is exactly "as expected."
    I just sent a bug report... I encourage you all to do the same. They are obviously working on stuff and I think it's our responsibility to make it a priority for them.
    http://www.apple.com/feedback/logicpro.html

    Hi Rohan,
    I meant to begin my last post "with all due respect". I read you all the time, you are always well informed, plus you came up with the 8.02 key command fix/discovery..
    Rohan Stevenson1 wrote:
    hi pancentre,
    no mate that's not correct re logic flushing the buffer. that is actually my point - it can't, not the way the audio engine is designed - god, but my memory is sketchy on this - i remember getting the ins and outs of this a long time ago...
    Right, I understand exactly what you're saying, this is indeed the way Logic works... my point was it's an archaic system that was devised at a time when computers had 1/1000th the processing power we have now. There's no need for such great efficiency, plugins can be kept partially active, this is how 9 out of 10 DAWs flush the buffers, the plugin is always active to some extent.
    one of the things that makes logic efficient is the way it handles plugs - it doesn't process them the whole time - only when there is sound to process.
    Agreed, see above. I think this is related to a couple of Logic's other quirks.
    Efficiency in one area is causing less efficiency in other areas, the overload messages. What happens when a song is playing and it comes upon three regions with a couple of space designers and an instance sculpture? Instead of these plugs being partially active and using a little processor, they all become active at once and often cause a spike... ie; system overload or other kind of glitch.
    it is the 3rd party plugs that have to flush its own audio buffer - its not something logic can effect without changing the way it works to become much less efficient.
    but if you were to call it a 'logic bug' then i would find it hard to disagree with you:
    Well, I guess it's hard to say but it seems like Apple came up with a workaround for Logic's behaviour and then asked everyone else to do the same. Until Apple version 7.xx Logic's plugins used to do the reverb tails and all other manner of little tics & glitches.
    There's still a couple of Logic's plugs that aren't all the way compliant.
    pancenter-

  • 9.0.0 horrendous bug still exists!!!!!!!!!!!

    Just reintroducing my pet peeve with Logic in general. It's the one thing that frustrates me most about Logic and it still persists after many many years. Here's my original post from 8.0.2:
    http://discussions.apple.com/thread.jspa?threadID=1531297&start=0&tstart=129
    The effects and sample caching bug is horrendous in my opinion. It's been there for years. It wastes huge amounts of my time. While there are some things you can do to minimize these glitches, there are NO 100% reliable work arounds. If you work in Logic and want a professional result you absolutely must listen to the finished bounce very carefully for glitches. These glitches come in many forms and will often times only be noticed after you receive the finished product from the mastering house.
    The main culprits are:
    1. Reverb and delay tails. If you have reverb or delay on a track and you stop playback and move your position, the reverb or delay will begin where it left off.
    2. Samples. For example I often replace kicks and snares with samples. When I go to start a bounce random samples will play at the beginning of the track.
    3. Clicks from compressor and EQ plug ins. These are less obvious, but generally mastering brings them out loud and clear after it's too late.
    Keep in mind that these glitches don't generally happen until a split second before a region starts. That means it is very common for them to happen in the middle of the song. Starting and stopping playback a few times does NOT completely clear the cache.
    It's a total craps shoot and the most embarrassing, time wasting aspect of Logic.
    I really wish I could trust Logic to give me a bounce that is exactly "as expected."
    I just sent a bug report... I encourage you all to do the same. They are obviously working on stuff and I think it's our responsibility to make it a priority for them.
    http://www.apple.com/feedback/logicpro.html

    lwilliam wrote:
    It's an inexcusable bug. It's one of the few reasons left why I can't use it in front of clients. How embarassing to have to trim the beginning of a bounced file to get rid of a reverb tail!
    1. If it were truly an AU-only bug, then wouldn't Cubase also exhibit the same behavior? I've not heard of Cubase users complaining about that.
    2. If were really an plugin not following the AU spec, then why do these 3rd party plugins pass the validation test?
    Since I go way back with this... I can tell you this behavior started with version 4.xx when Emjk adapted Logic to use VST instruments. At that time all of Logic's plugins (reverbs...internal synths) exhibited these problems as well as 3rd party VST. it was a KNOWN issue and had to do with the manner in which Logic handles buffers and and unhooks plugins/AU from the CPU at stop. Plugins, VST & AU become inactive with data in their buffers. It was never a problem with any other DAW as the plugins are kept active long enough to empty the buffers. The onus being put on the plugins was added to the AU spec at a later date to cover Logic's behavior. (which really P.O.'d some plugin developers, so much so that some won't even fix what to them is not their problem.)
    I don't know about the latest version of Garageband but interestingly enough, it doesn't exhibit this problem, or if it does, nowhere near as bad as Logic. It was something that was "fixed" in Garageband.
    I dislike when companies try and rewrite history, as mentioned, this was a
    -known- issue. It was discussed between users and programmers... (back in the day).
    over and out on this.
    pancenter-

  • F110 - No pymt possible because items with a debit bal.still exist; see job

    hi,
    I am getting the above error how to rectify the same?
    Regards,

    Normally you will not pay a vendor with a debit balance, because this means vendor owe you the money, may be because of some credit memo or return goods posted.
    But if you are looking to pay certain specific invoices anyway today, please go to edit payment proposal in F110, and block the debit items or the invoices that you are not intending to consider in payment proposal for this vendor.
    Note: you need to enter the payment block indicator allowed in the payment run. To check which payment block you can possibly use, go to SPRO
    IMG>FI(New)>AR & AP> Busi Trans >Outgoing Payment>Manual Outgoing Payment> Check Payment block reason
    and then find out which payment block indicator code has "Change in payment Prop" checked. You can use only these payment blocks in the payment run F110
    Thanks
    Ron

  • When I turn on my IMac it can not find the my wireless network automatically, I have select it manually, even with apple support problem still exist.

    When I turn on my Imac it can not find my wireless network automacally, I have to seclect it manually.  Apple support has not been apple to find the problem.  I also have an MacBook Pro and have no problem with this laptop finding my network everytime.  Does anyone else have this problem. This problem started within the last month.

    Lot's of people reporting Wifi problems with 10.7.4, but some things to try...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • 30EA3: German language bug with user defined reports still not fixed

    In 30EA2: Limited folder functionality with German language
    I wrote about a bug in 30EA2. Was this message noticed by the developers?
    The bug still exists in 30EA3.
    In new folders for user definded reports only the options "Kopieren" and "Exportieren" (copy and export) are available, when SQL-Deverloper runs in German language mode.
    A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf

    I made a new thread for the same bug in 3.1EA2:
    3.1EA2 Old bug with German language settings still exists
    I have some hope, that my problem finally got noticed by the developers.

  • Difference between Create Index without and with Parallel Clause

    Hi all.
    I want to know the difference between Create Index with Parallel clause and Create Index without Parallel clause.
    Any documentation.
    Thanks,
    Hassan

    Sure?
    dimitri@VDB> create table t parallel 3 as select * from all_objects;
    Table created.
    dimitri@VDB> set autotrace traceonly
    dimitri@VDB> select * from t;
    40934 rows selected.
    Execution Plan
    Plan hash value: 3050126167
    | Id  | Operation            | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT     |          | 40601 |  5075K|    50   (0)| 00:00:01 |        |      |            |
    |   1 |  PX COORDINATOR      |          |       |       |            |          |        |      |            |
    |   2 |   PX SEND QC (RANDOM)| :TQ10000 | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | P->S | QC (RAND)  |
    |   3 |    PX BLOCK ITERATOR |          | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | PCWC |            |
    |   4 |     TABLE ACCESS FULL| T        | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | PCWP |            |
    --------------------------------------------------------------------------------------------------------------Looks like PQ to me.
    alter table t noparallel;
    Table altered.
    dimitri@VDB> select * from t;
    40934 rows selected.
    Execution Plan
    Plan hash value: 1601196873
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      | 40601 |  5075K|   135   (1)| 00:00:02 |
    |   1 |  TABLE ACCESS FULL| T    | 40601 |  5075K|   135   (1)| 00:00:02 |
    --------------------------------------------------------------------------Same if we use an Index:
    dimitri@VDB> create index t_idx on t(object_name) parallel 3;
    Index created.
    dimitri@VDB> select object_name from t;
    40934 rows selected.
    Execution Plan
    Plan hash value: 4278805225
    | Id  | Operation               | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT        |          | 40601 |   674K|    50   (0)| 00:00:01 |        |      |            |
    |   1 |  PX COORDINATOR         |          |       |       |            |          |        |      |            |
    |   2 |   PX SEND QC (RANDOM)   | :TQ10000 | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | P->S | QC (RAND)  |
    |   3 |    PX BLOCK ITERATOR    |          | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | PCWC |            |
    |   4 |     INDEX FAST FULL SCAN| T_IDX    | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | PCWP |            |
    -----------------------------------------------------------------------------------------------------------------Everything done on a single CPU (also only one core in the CPU) AMD Box.
    Dim

  • Black lines in landscape content still exist in v.32.4.4 !!

    Hi
    Adobe should have been fixing this bug in 32.4.4, they did for the Adobe Content viewer.
    But this bug still exists in applications made by DPS App Builder ver 32.4.4.
    Adobe, please make hot fix URGENT
    Thanks
    Eli

    If you rebuild your app with the option "Enable auto hiding of the vertical folio scroll bar" checked this issue will not appear. Will that not work for your app?
    We do plan to release a fix for this on our next scheduled dot release, in approximately a week and a half.

Maybe you are looking for

  • Left outer join problem -- need feedback

    using crystal 2008 haveing prolbems with a left outerjoin to get a blank field(null) to show up. basically i have some po line have have long descriptions or text fields that i want to include with the report. Below is my sql statement. I have writte

  • Search resources based on created date

    Hi, I am unable to search the resources based on creation date. I used the code as follows. sqb = new SearchQueryListBuilder(); Timestamp ts3 = new Timestamp(d3.getTime()); String searchCreDt = "default:created(value>"ts3.toString()")"; sqb.setSelect

  • Dreamweaver CS3 seems to be crashing with TimeMachine

    I just got TimeMachine working with a TimeCapsule. Ever since I've seen incredible slowdowns and stalls in Fireworks and DW3 keeps crashing on open. I have to repair permissions to get it to work. Anyone else seen this muddled behavior? I also am see

  • EEWB Structure inactive in CRMMAPBAPI

    Hi Friends, we have enhanced an existing customer structure in EEWB. After this the sync between R/3 and CRM did not work for fields of this structure. Analyzing the problem we found that the CRMMAPBAPI entry for this structure looked like this: MAND

  • Apply a function to multiple columns at the same time?!

    Hi, I have a table with many char columns. They have to be transformed to numbers. Right now I use an expression operator where I input all the columns and generated the output columns by typing in every column TO_NUMBER(column_xyz) which is very muc