Bug #7754 | REPLACE INTO SELECT PreparedStatement fails | ||
---|---|---|---|
Submitted: | 10 Jan 2005 3:53 | Modified: | 12 Jan 2005 14:07 |
Reporter: | Test Test | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 3.1.6 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[10 Jan 2005 3:53]
Test Test
[12 Jan 2005 14:07]
Aleksey Kishkin
the command 'replace into ... values () select ...' has syntax error - 'values' must not be here. without 'values' (and with 'my_col' replaced to 'balance'), this command does not produce any exceptions. I tested on C and on java (files attached)
[12 Jan 2005 14:14]
Aleksey Kishkin
test on java
Attachment: bug7754.java (text/x-java), 850 bytes.
[12 Jan 2005 14:14]
Aleksey Kishkin
test on C
Attachment: prep_test.c (text/x-csrc), 1.32 KiB.