Re: mysql error message

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.goV)
Date: Thu Aug 09 2001 - 13:57:15 EDT

  • Next message: Christian Holm Christensen: "Re: mysql error message"

    This is one for Christian,
    Here is my hunch
    
    In the BrDbQuery ie the abc for the DB access there are internal array's
    Char_t buf[1024]
    that are used  retrieve and insert data. I believe that each Float takes 4
    bytes (stored as HEX just like the string you enclose) thus 320 #RICH tubes
    * 4 > 1024
    
    ------------------------------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    
    tlf: 631-344-4106
    fax 631-344-1334
    e-mail: videbaek@bnl.gov
    ----- Original Message -----
    From: "Djamel Ouerdane" <ouerdane@nbi.dk>
    To: <brahms-dev-l@bnl.gov>
    Sent: Thursday, August 09, 2001 1:15 PM
    Subject: mysql error message
    
    
    > HI,
    >
    > Each time I try to commit pedestals for the RICH, I get this message:
    >
    > Warning in <Format>: string truncated: 201, 26, 997264044, 997275037,...
    > Error in <TMySQLServer::Query>: You have an error in your SQL syntax near
    >
    ''35DE8143C10A9A433DCA844358E9874342708D43069196439C848543141E834310A88A43A6
    DB9D4'
    > at line 1
    >
    > The software I use works perfectly for C1 and is general so that RICH
    > should give no problem. I can't figure out this...
    > Does someone have an idea?
    >
    > DJam
    >
    > --
    > Djamel Ouerdane ------------------------------------------o
    > |  Niels Bohr Intstitute     |  Home:                     |
    > |  Blegdamsvej 17, DK-2100 Ø |  Jagtvej 141 2D,           |
    > |  Fax: +45 35 32 50 16      |  DK-2200 Copenhagen N      |
    > |  Tel: +45 35 32 52 69      |  +45 35 86 19 74           |
    > |                  http://www.nbi.dk/~ouerdane            |
    > |                  ouerdane@nbi.dk                        |
    > o---------------------------------------------------------o
    >
    



    This archive was generated by hypermail 2b30 : Thu Aug 09 2001 - 14:06:10 EDT