diff --git a/mariadb/mariadb_codecs.c b/mariadb/mariadb_codecs.c index 37a466e..10ec1bf 100644 --- a/mariadb/mariadb_codecs.c +++ b/mariadb/mariadb_codecs.c @@ -1102,7 +1102,7 @@ mariadb_get_parameter_info(MrdbCursor *self, { uint64_t tmp= PyLong_AsLongLong(paramvalue.value); - if (tmp == (uint64_t)-1 && PyErr_Occurred) + if (tmp == (uint64_t)-1 && PyErr_Occurred()) { param->is_unsigned= 1; PyErr_Clear();