From 169cb7178b4f9eb545eb0f44e9ea6bb7eaaf3f6d Mon Sep 17 00:00:00 2001 From: Hans Raaf Date: Thu, 17 Dec 2015 14:04:45 +0100 Subject: [PATCH] Fixing mysql_field. FIELD had the wrong size which made mysql.fetch_fields() useless. --- lib/wrappers/mysql.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/wrappers/mysql.nim b/lib/wrappers/mysql.nim index 8253e53a58..af504864dd 100644 --- a/lib/wrappers/mysql.nim +++ b/lib/wrappers/mysql.nim @@ -418,6 +418,7 @@ type decimals*: cuint # Number of decimals in field charsetnr*: cuint # Character set ftype*: Enum_field_types # Type of field. See mysql_com.h for types + extension*: pointer FIELD* = St_mysql_field PFIELD* = ptr FIELD