We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b211b21 commit d11aeb3Copy full SHA for d11aeb3
ext/mysql2/result.c
@@ -107,6 +107,8 @@ static void rb_mysql_result_free_result(mysql2_result_wrapper * wrapper) {
107
xfree(wrapper->error);
108
xfree(wrapper->length);
109
}
110
+ /* Clue that the next statement execute will need to allocate a new result buffer. */
111
+ wrapper->result_buffers = NULL;
112
113
/* FIXME: this may call flush_use_result, which can hit the socket */
114
/* For prepared statements, wrapper->result is the result metadata */
0 commit comments