Re: mysql error message

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Aug 10 2001 - 05:03:42 EDT

  • Next message: Djamel Ouerdane: "run info manager and db update module"

    Hi Djam et al, 
    
    On Fri, 10 Aug 2001 10:53:55 +0200 (CEST)
    Djamel Ouerdane <ouerdane@nbi.dk> wrote
    concerning ": Re: mysql error message":
    > Hi Christian, I think you have to concretise your idea :)
    > 
    > here is the gdb word:
    > 
    > Breakpoint 2, BrDb::Addr2String (addr=0x895b260, size=1280) at
    > BrDb.cxx:375
    > 375       Char_t*   out   = new Char_t[2 * n + 1];
    > (gdb) cont
    > Continuing.
    > Warning in <Format>: string truncated: 203, 26, 996612671, 997263740,...
    > Error in <TMySQLServer::Query>: You have an error in your SQL syntax near
    > ''35DE8143C10A9A433DCA844358E9874342708D43069196439C848543141E834310A88A43A6DB9D4'
    > at line 1
    > 
    > Breakpoint 2, BrDb::Addr2String (addr=0x895bb58, size=1280) at
    > BrDb.cxx:375
    > 375       Char_t*   out   = new Char_t[2 * n + 1];
    > (gdb)
    
    Ok, that was not enough. Do: 
    
      prompt%  gdb <your program>
      (gdb) break main 
      Setting break point 1 in ... 
      (gdb) run 
      ...
      (gdb) break 'BrDbRevision::Insert(void)' 
      Setting break point 2 in ... 
      (gdb) break 'BrDbQuery::Insert(char const*, char const*)' 
      Setting break point 3 in ... 
      (gdb) cont 
      At break point 2 in ... 
        SetDate(-1);
      (gdb) next 
          fAuthorID = gPerson->GetDBID();   
      (gdb) next 
                                    BrDb::Addr2String(fArray,fBytes)));
      (gdb) next        
      At break point 3 in ... 
      (gdb) next 
    
    Keep on doing "next" (just type C-j - that is [Ret] - that is, the
    return key - you know the big one on the right of your keyboard :-) At
    any point after this, I would expect to see the above warning from
    Format.  
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b30 : Fri Aug 10 2001 - 05:04:26 EDT