Re: [oe] [meta-oe][PATCH] mysql-python: fix compilation with MariaDB 10.3.13

2019-03-07 Thread Yu, Mingli
BTW, what's the patch version on your system? On my system: - $ patch --version GNU patch 2.7.5 Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc. Copyright (C) 1988 Larry Wall License GPLv3+: GNU GPL version 3 or later

Re: [oe] [meta-oe][PATCH] mysql-python: fix compilation with MariaDB 10.3.13

2019-03-07 Thread Yu, Mingli
On 2019年03月07日 23:29, Khem Raj wrote: Applying patch 0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch patching file _mysql.c Hunk #1 FAILED at 2002 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file _mysql.c.rej Hi Khem, It's strange that I can't

Re: [oe] [meta-oe][PATCH] mysql-python: fix compilation with MariaDB 10.3.13

2019-03-07 Thread Khem Raj
Applying patch 0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch patching file _mysql.c Hunk #1 FAILED at 2002 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file _mysql.c.rej On Wed, Mar 6, 2019 at 1:12 AM wrote: > > From: Mingli Yu > > Use standard API

[oe] [meta-oe][PATCH] mysql-python: fix compilation with MariaDB 10.3.13

2019-03-06 Thread mingli.yu
From: Mingli Yu Use standard API function MYSQL_OPT_RECONNECT instead of direct modification of internal structures which does not work for MariaDB to fix below compile issue. | _mysql.c: In function '_mysql_ConnectionObject_ping': | _mysql.c:2005:41: error: 'MYSQL' {aka 'struct st_mysql'} has