From 8cf1f50967ff58abb7d9688ae64ac662e66389c0 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Mon, 1 Feb 2016 16:10:49 +0100 Subject: MDEV-9112: Non-blocking client API missing on non-x86 platforms The check for UCONTEXT in cmake was somehow become broken, disabling the fallback to ucontext. This caused the non-blocking client API to not be available for non-x86 platforms, on which no hand-crafted assembler implementation of my_context is available. --- sql-common/client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sql-common') diff --git a/sql-common/client.c b/sql-common/client.c index 1bb4a250c69..f8bd483e8c2 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -4293,6 +4293,7 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const void *arg) stacksize= ASYNC_CONTEXT_DEFAULT_STACK_SIZE; if (my_context_init(&ctxt->async_context, stacksize)) { + set_mysql_error(mysql, CR_OUT_OF_MEMORY, unknown_sqlstate); my_free(ctxt); DBUG_RETURN(1); } -- cgit v1.2.1