Skip to content

Commit

Permalink
Fix for CONC-492:
Browse files Browse the repository at this point in the history
To build a client plugin outside of Connector/C source tree, we
need to define uchar, since we don't provide ma_global.h in packages.
  • Loading branch information
9EOR9 committed Sep 5, 2020
1 parent 804bf08 commit 8222338
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/ma_pvio.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
#define MARIADB_TLS void
#endif

/* CONC-492: Allow to buuld plugins outside of MariaDB Connector/C
source tree wnen ma_global.h was not included. */
#ifndef _global_h
typedef unsigned char uchar;
#endif

#define PVIO_SET_ERROR if (pvio->set_error) \
pvio->set_error

Expand Down

0 comments on commit 8222338

Please sign in to comment.