myadm

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

commit f89f5ec7aafbf31f72c2b47258a00dad3dc186fc
parent d98f2177424135a6a22802fa414e45ff9147bee9
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sat, 12 Mar 2016 22:49:54 +0100

Fix a bug in the flow.

Diffstat:
Mcore.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core.c b/core.c @@ -541,11 +541,11 @@ records(void) { die("records: no choice.\n"); if(!(res = mysql_exec("select * from `%s`", tbl))) die("records: cannot select `%s`\n", tbl); - free(tbl); mysql_listview(res, 1); mysql_free_result(res); stfl_setf("title", "Records in `%s`", tbl); stfl_setf("info", "---Core: %d record(s)", selview->nitems); + free(tbl); } void