feat: get dbname after set conn

This commit is contained in:
Alex Duan 2023-02-11 22:44:43 +08:00
parent 2fe1ee2aab
commit 8bde21894f
1 changed files with 1 additions and 0 deletions

View File

@ -1132,6 +1132,7 @@ void printScreen(TAOS* con, SShellCmd* cmd, SWords* match) {
// main key press tab , matched return true else false // main key press tab , matched return true else false
bool firstMatchCommand(TAOS* con, SShellCmd* cmd) { bool firstMatchCommand(TAOS* con, SShellCmd* cmd) {
if(con == NULL || cmd == NULL) return false;
// parse command // parse command
SWords* input = (SWords*)taosMemoryMalloc(sizeof(SWords)); SWords* input = (SWords*)taosMemoryMalloc(sizeof(SWords));
memset(input, 0, sizeof(SWords)); memset(input, 0, sizeof(SWords));