myadm

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

commit 1f8162ff525bd1e7574deea44c48d2606ff5df49
parent 6190f51bc1c81fb6a71943847f0b59bfce6fcec0
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Tue,  3 May 2016 22:57:42 +0200

Remove a double check.

Diffstat:
Mmyadm.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/myadm.c b/myadm.c @@ -889,10 +889,6 @@ viewtable_show(void) { Item *choice = selview->choice; int r; - if(!choice) { - ui_set("status", "No table selected."); - return; - } r = mysql_exec("select * from `%s`", choice->cols[0]); if(r == -1 || !(res = mysql_store_result(mysql))) die("select from `%s`", choice->cols[0]);