diff --git a/source/libs/command/src/command.c b/source/libs/command/src/command.c index 9c18879dd32ca8223a404da5de8425cbab804473..3327d9c3ddd9041462539981351879c3142c6470 100644 --- a/source/libs/command/src/command.c +++ b/source/libs/command/src/command.c @@ -287,7 +287,7 @@ static void setCreateDBResultIntoDataBlock(SSDataBlock* pBlock, char* dbName, ch } if (IS_SYS_DBNAME(dbName)) { - len += sprintf(buf2 + VARSTR_HEADER_SIZE, "CREATE DATABASE `%s` ", dbName); + len += sprintf(buf2 + VARSTR_HEADER_SIZE, "CREATE DATABASE `%s`", dbName); } else { len += sprintf( buf2 + VARSTR_HEADER_SIZE,