From 68ebea4a0863f7378ed30cc7b88b0211281c3f24 Mon Sep 17 00:00:00 2001 From: Benjamin Carlson Date: Mon, 8 Feb 2021 12:02:01 -0700 Subject: [PATCH] Update MySQLStmt.swift Added support for other MySQL versions past 5.7 by adding "typealias my_bool = CBool" to code --- Sources/PerfectMySQL/MySQLStmt.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/PerfectMySQL/MySQLStmt.swift b/Sources/PerfectMySQL/MySQLStmt.swift index e6e6e37..67af670 100644 --- a/Sources/PerfectMySQL/MySQLStmt.swift +++ b/Sources/PerfectMySQL/MySQLStmt.swift @@ -10,8 +10,11 @@ #else import Darwin #endif + import mysqlclient +typealias my_bool = CBool + /// handles mysql prepared statements public final class MySQLStmt { private let ptr: UnsafeMutablePointer