Bug #42455 | Can't create a Trigger from VB program using MySQL ODBC | ||
---|---|---|---|
Submitted: | 29 Jan 2009 14:47 | Modified: | 29 May 2013 6:12 |
Reporter: | Roberto Farioli | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 5.1.5 | OS: | Windows (XP) |
Assigned to: | Lawrenty Novitsky | CPU Architecture: | Any |
Tags: | ODBC, trigger |
[29 Jan 2009 14:47]
Roberto Farioli
[29 Jan 2009 16:40]
Tonci Grgin
Hi Roberto and thanks for your report. DELIMITER is valid command only in client, not in ODBC library thus this is *not* a bug. You are free to check what general query log entries DELIMITER produces. I'll give you a hint, none... Full Connect(Default) Env. Attr. SQL_ATTR_ODBC_VERSION set to SQL_OV_ODBC3 Successfully connected to DSN '5-1-05-local'. DELIMITER $ SQLExecDirect: In: hstmt = 0x0000000000649F10, szSqlStr = "", cbSqlStr = -3 Return: SQL_ERROR=-1 stmt: szSqlState = "42000", *pfNativeError = 1064, *pcbErrorMsg = 210, *ColumnNumber = -1, *RowNumber = -2 MessageText = "[MySQL][ODBC 5.1 Driver][mysqld-5.1.30-community-log]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 'DELIMITER $' at line 1" Closing as !Bg.
[29 Jan 2009 16:55]
Roberto Farioli
Thanks, OK, but I have tested same DDL query without DELIMETER $$ call and parsing problem still arise
[29 Jan 2009 21:36]
Jess Balint
Robert, Don't include any dollar signs in your program. Please fix this and if the problem persists, show the exact error returned from MySQL.
[1 Mar 2009 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[29 May 2013 6:12]
Bogdan Degtyariov
I'm closing this bug because I can not continue without feedback from the reporter. If you have new info, please reopen the report.