-
| I'm using mysqlconnector with Manticore which has a mySQL interface, however I see some queries failing with: [@\uE001MySqlConnector\uE001Sleep;'"](sphinxql: syntax error, unexpected $undefined, expecting FROM or ',' near '@\uE001MySqlConnector\uE001Sleep;'") Connection string is: is there a way to make it not run those sleep commands? | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
| That command is coming from query cancellation. You have  FWIW, the current syntax that MySqlConnector uses was chosen in #1115 to be more compatible with Xpand DB and Singlestore. | 
Beta Was this translation helpful? Give feedback.
A workaround would be avoiding MySqlConnector's built-in query cancellation and reimplementing it with your own timer that executes
KILL QUERY nnnon a background thread after six seconds. (You can get the value for the query to kill by readingMySqlConnection.ServerThreadbefore the command is executed.)