Bug #53157 | .net connector putting square bracket [ ] in visual studio 2010 | ||
---|---|---|---|
Submitted: | 26 Apr 2010 12:06 | Modified: | 28 Apr 2010 3:33 |
Reporter: | kris adidarma | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 6.3.1 | OS: | Any |
Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
[26 Apr 2010 12:06]
kris adidarma
[26 Apr 2010 12:10]
Tonci Grgin
Hi Kris and thanks for your report. Unfortunately I have no access to VS2010 so assigning Wlad to check.
[27 Apr 2010 17:11]
Reggie Burnett
This is not a bug. As you have said, the connector is not adding the []. Please check out the new connection string option "sql server mode=yes". This mode can be added when using a VS wizard. It will attempt to replace [] with `` to make it mysql compat. I would suggest removing that option for production code as it will cause a slight slowdown in sql execution.
[28 Apr 2010 3:33]
kris adidarma
yes, we can force VS 2010 to replace [] with `` but you are right it behaves slower. Maybe better if you can create mySQLDatasource instead