Menu

#2405 (ok 2.10.1) Can\'t edit if BLOB and no PK

2.10.0.2
fixed
1
2013-06-11
2007-03-29
No

The generated condition contains only the left part of the comparison

AND CONVERT( `audios`.`audio`
USING utf8 ) ;

Discussion

  • Jürgen Wind

    Jürgen Wind - 2007-03-29

    Logged In: YES
    user_id=1383652
    Originator: NO

    regardless of index or not i can't insert rows if the blog field is empty:

    INSERT INTO `abc`.`blobsizetest` (
    `autoID` ,`what` ,`size_KB` ,`mediumBlob16M` ,`longblob` ,`comment`
    )
    VALUES (
    '33', 'test', '777', , , 'test'
    )

    MySQL said:
    #1064 - You have an error in your SQL syntax; ... near ' , 'test')' at line 1

    but
    .... VALUES (
    '33', 'test', '777' , '' , '', 'test'
    )
    works fine

     
  • Marc Delisle

    Marc Delisle - 2007-03-31
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-03-31

    Logged In: YES
    user_id=210714
    Originator: YES

    Juergen,
    I just fixed this insert problem in QA_2_10 and trunk.

     
  • Marc Delisle

    Marc Delisle - 2007-03-31
    • priority: 5 --> 1
    • summary: Can't edit if BLOB and no PK --> (ok 2.10.1) Can't edit if BLOB and no PK
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2007-04-24
    • summary: (ok 2.10.1) Can't edit if BLOB and no PK --> (ok 2.10.1) Can\'t edit if BLOB and no PK
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed