mysql8-replace-bool

apps/snmptrapd_sql: Fix build against MySQL 8
See also https://sourceforge.net/p/net-snmp/bugs/2922/.

[bvanassche: changed 'int' into 'char']

Description: apps/snmptrapd_sql: Fix build against MySQL 8
Author: Andreas Hasenack <ahasenack2@users.sourceforge.net>
Origin: upstream, https://github.com/net-snmp/net-snmp/commit/9f4af8c42d
Bug: https://sourceforge.net/p/net-snmp/bugs/2922/
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1814270
Applied-Upstream: v5.8.rc4-180-g9f4af8c42 (drop after v5.8.1.pre1)
Reviewed-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2019-12-16


Gbp-Pq: Name mysql8-replace-bool.patch
This commit is contained in:
Ubuntu Developers 2022-06-27 15:01:27 +08:00 committed by Lu zhiping
parent b5f41b33ec
commit f6da980015
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ typedef struct sql_buf_t {
* static bind structures, plus 2 static buffers to bind to.
*/
static MYSQL_BIND _tbind[TBIND_MAX], _vbind[VBIND_MAX];
static my_bool _no_v3;
static char _no_v3;
static void _sql_process_queue(u_int dontcare, void *meeither);