From 448ff45f3c1707a16c1ff9cb55ebc4a2f9684706 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 31 Jul 2018 12:04:58 +0200 Subject: [PATCH] Fix parsing of charN and varcharN types The type names are always converted to lower case. Fix the type lookup table by using "charn" and "varcharn". Report-By: coredumped on GitHub --- decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decode.c b/decode.c index 251596e..a842675 100644 --- a/decode.c +++ b/decode.c @@ -161,13 +161,13 @@ static ParseCallbackTableItem callback_table[] = /* internally all string types are stored the same way */ { - "charN", &decode_string + "charn", &decode_string }, { "varchar", &decode_string }, { - "varcharN", &decode_string + "varcharn", &decode_string }, { "text", &decode_string -- 2.39.5