1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fix for CONC-600:

If mariadb_fetch_event() detects an unknown event, the event will be
returned instead of releasing it.

Kudos to '007gzs' for providing this patch!
This commit is contained in:
Georg Richter
2022-06-21 10:51:59 +02:00
parent 7523c27e66
commit 1e2f6d5a12

View File

@@ -488,8 +488,7 @@ MARIADB_RPL_EVENT * STDCALL mariadb_rpl_fetch(MARIADB_RPL *rpl, MARIADB_RPL_EVEN
}
break;
default:
mariadb_free_rpl_event(rpl_event);
return NULL;
return rpl_event;
break;
}