myadm

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

commit ed9804a3083880a3f1976e44095eab0e2db75a22
parent 2ee36e9cff24af10790b488f2af7cac9f3f14901
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu, 24 Mar 2016 21:38:26 +0100

Remove welcome. DB list is default.

Diffstat:
Mconfig.def.h | 2--
Mmyadm.c | 2+-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -7,8 +7,6 @@ static const char *dbhost = ""; static const char *dbuser = ""; static const char *dbpass = ""; -static void (*welcome)(const Arg *arg) = databases; - #if defined CTRL && defined _AIX #undef CTRL #endif diff --git a/myadm.c b/myadm.c @@ -584,7 +584,7 @@ setup(void) { die("Cannot connect to the database.\n"); fldseplen = strlen(FLDSEP); ipool = stfl_ipool_create(nl_langinfo(CODESET)); - welcome(NULL); + databases(NULL); stfl_run(selview->form, -1); nl(); sa.sa_flags = 0;