From 0afe015d8ca980e92c5c13baf4aebab5f3ca8c82 Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Thu, 7 Jan 2016 23:16:52 +0300 Subject: [PATCH] Need more space for bigger sql queries --- linux/dbstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/dbstore.c b/linux/dbstore.c index 5678fa6..b95c021 100644 --- a/linux/dbstore.c +++ b/linux/dbstore.c @@ -79,7 +79,7 @@ int dbstore(uint8_t which, uint32_t val) char buf[64]; char tstr[32], prevtstr[32]; char *table = (which == 1) ? "cold" : "hot"; - char statement[64]; + char statement[256]; MYSQL_RES *result; uint32_t prev_val = 0; int bogus = 0; -- 2.39.2