Addition of banner in debugcli and fix to red write splitting for session write statements

This commit is contained in:
Mark Riddoch
2013-07-12 10:31:24 +02:00
parent 833e594edf
commit fa8ea19f85
2 changed files with 6 additions and 1 deletions

View File

@ -158,6 +158,11 @@ CLI_SESSION *client;
spinlock_release(&inst->lock);
session->state = SESSION_STATE_READY;
dcb_printf(session->client, "Welcome the SkySQL Gateway Debug Interface (%s).\n",
version_str);
dcb_printf(session->client, "Type help for a list of available commands.\n\n");
return (void *)client;
}