myadm

Simple MySQL client for the terminal
git clone git://git.bitsmanent.org/myadm
Log | Files | Refs | README | LICENSE

commit 50b5ff906a9abfd32843314eaf85e9fa52be949d
parent 668baa49e6521609854f597886fbb003b8e639c1
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu, 24 Mar 2016 19:48:00 +0100

Fix a bug in mysql_fillview().

Diffstat:
Mmyadm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/myadm.c b/myadm.c @@ -385,9 +385,10 @@ void mysql_fillview(MYSQL_RES *res, int showfds) { cleanupitems(&selview->items); selview->nitems = mysql_items(res, &selview->items); - if(showfds) + if(showfds) { cleanupfields(&selview->fields); selview->nfields = mysql_fields(res, &selview->fields); + } } int