feat: get dbname after set conn
This commit is contained in:
parent
2fe1ee2aab
commit
8bde21894f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue