I wrote a Unit-Test to demonstrate exception
This test will fail.
Our ERP application failed with the maria driver but worked with the mysql driver and it took us a while figuring out why.
Reading through the code I found that mariaDb driver ignores the scroll-type, since it's always "SCROLL_INSENSITIVE".
This is fine, however other parts of the driver do make the distinction.
a unit-test and "workaround" hack has been written and will create a pull-request for discussion.
It is a hack, better would be to implement the scroll-type information.