Bug #32028 | Error when i print binary values with concatenate | ||
---|---|---|---|
Submitted: | 1 Nov 2007 12:24 | Modified: | 9 Nov 2007 12:52 |
Reporter: | Dayvison Pellegrina | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51.21 | OS: | Windows (2003 Server IIS6) |
Assigned to: | CPU Architecture: | Any |
[1 Nov 2007 12:24]
Dayvison Pellegrina
[1 Nov 2007 12:41]
Dayvison Pellegrina
With the version 3.51.19 does not work too.
[1 Nov 2007 17:00]
Susanne Ebrecht
Hello Dayvison, many thanks for writing a bug report. Kind Regards, Susanne
[1 Nov 2007 17:01]
Susanne Ebrecht
Bug #32027 is a duplicate of this bug here.
[5 Nov 2007 12:56]
Tonci Grgin
Hi Dayvison. On a first look I would call this expected behavior. You might take a look into conversion routines used by ADO like CInt, CDbl and others and find one suitable for you to use or CAST "Teste" as CHAR explicitly. I will need some time to verify this though.
[5 Nov 2007 15:43]
Dayvison Pellegrina
I was making some tests and noticed that this really should be the same behavior expected. Since we have 2 types of different variables, a concatenation only would an error in the "type mismacth". I tested with a database SQL-Server 2000 and the behavior is similar to what we have in versions 3.51.21 / 3.51.19. The only thing strange is the behavior of older driver (3.51.12), which should return some kind of value “character” to data type “binary”. As for the type of variable to be used in the concatenation, we will check the function more appropriate for the same. I think it is occurrence can be closed. If you have more information that could help me I would greatly. Thanks again =D
[9 Nov 2007 12:52]
Susanne Ebrecht
Hi Dayvison, many thanks for you help. I'll close this bug report now. Thank you for trusting MySQL. Susanne