In my program, I use the C mariadb connector and since my upgrade of MariaDB server to the 10.11.10 version I noticed this:
if (mysql_stmt_execute(stmt)) {
|
int32_t err_code = mysql_stmt_errno(stmt);
|
if (err_code == 0) {
|
logger->info("This should not happen, but we are here...");
|
}
|
}
|
I'm not sure the err_code is always 0. I know it is 0 when the statement is an INSERT and there are operations on the table like some repartitionning...
I also noticed this when I insert a row in a table that doesn't exist.