From 38ce963e70365149a26855343d229d6a6979245a Mon Sep 17 00:00:00 2001 From: slguan Date: Wed, 25 Dec 2019 18:44:50 +0800 Subject: [PATCH] #1014 [TBASE-1376] --- src/util/src/textbuffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/src/textbuffer.c b/src/util/src/textbuffer.c index 1811f43be0..5652c0aca6 100644 --- a/src/util/src/textbuffer.c +++ b/src/util/src/textbuffer.c @@ -897,7 +897,6 @@ static FORCE_INLINE int32_t columnValueAscendingComparator(char *f1, char *f2, i return (ret < 0) ? -1 : 1; }; case TSDB_DATA_TYPE_NCHAR: { - int32_t b = bytes / TSDB_NCHAR_SIZE; int32_t ret = tasoUcs4Compare(f1, f2, bytes); if (ret == 0) { return 0; -- GitLab