Bug #4582 Apply changes after editing blob fields

Submitted: 17 Jul 2004 13:36 Modified: 20 Jul 2004 5:14
Reporter: Shaun Dodimead Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.0.3 Alpha OS:Windows (Windows XP Pro)
Assigned to: Alfredo Kojima CPU Architecture:Any

[17 Jul 2004 13:36] Shaun Dodimead
Description:
When I get results from a table with a varchar primary key and a blob field, whilst I can alter the blob data when I try to apply the changes I get 

"You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE CASTREFKEY=DODS1' at line 1"

How to repeat:
Create table A with primary key varchar column and blob column. Add a row, try to edit row (Edit/change/move/apply changes') get Error in SQL.

Suggested fix:
Looks like the where clause is missing quotes around primary key value
[20 Jul 2004 5:14] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.