myadm

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

commit 44b8b83cc652f2308eda4e99651171d3ececa634
parent e582deadcf0c57fdbe163e2af36f55ff684c3fc8
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sat, 27 Feb 2016 23:52:00 +0100

Clean up.

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

diff --git a/core.c b/core.c @@ -316,8 +316,7 @@ void records(void) { Item *item; MYSQL_RES *res; - char txt[256], t[32]; - int i; + char txt[256]; snprintf(txt, sizeof txt, "select * from `%s`", selitem->fields[0]); if(!(res = mysql_exec(txt)))