myadm

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

commit 0855d3ce7110b7debf120d91c3b1d624315b3971
parent c366cfaf3b40e0b1fc9b97bc56494f9fb19e9f26
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sat, 23 Apr 2016 20:18:04 +0200

Take table name from the proper place.

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

diff --git a/myadm.c b/myadm.c @@ -302,7 +302,7 @@ editbuf(char *in, int len, int *sz) { void editrecord(const Arg *arg) { Item *item = getitem(0); - char *tbl = views->choice->cols[0], pk[MYSQLIDLEN+1], *buf, *sql; + char *tbl = selview->choice->cols[0], pk[MYSQLIDLEN+1], *buf, *sql; int bufsz, sqlsz; if(!item) {