Re: ON DUPLICATE KEY UPDATE - Always returns positive integer
Hopefully this will get some a solution soon.
I can confirm that I have the same result in my application.
I am using Visual Studio 2013 and the connector for .Net version 6.9.9.
As you did I also confirmed that the method gives the expected results using workbench for the same data. It looks like it is specifically a connector issue.
//Code Snippet
conn = new MySqlConnection(DB_ConnectionString);
conn.Open();
//create command and assign the query and connection from the constructor
MySqlCommand cmd = new MySqlCommand(query, conn);
int rowsAffected = Convert.ToInt32(cmd.ExecuteNonQuery());
Subject
Written By
Posted
February 05, 2017 02:18AM
Re: ON DUPLICATE KEY UPDATE - Always returns positive integer
March 16, 2017 12:16AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.