mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-30 00:40:44 +01:00
use schema instead of inferred result types
This commit is contained in:
1 parent
316d1cdda7
commit
e14a316aeb
5 files changed
+105
-20
No files matched your search
+3
-4
@@ -295,10 +295,9 @@ func runInteractiveShell(ctx *SQLContext) bool {
|
||||
ctx.currentDatabase = dbName
|
||||
// Also update the SQL engine's catalog current database
|
||||
ctx.engine.GetCatalog().SetCurrentDatabase(dbName)
|
||||
fmt.Printf("Database changed to: %s\n\n", dbName)
|
||||
queryBuffer.Reset()
|
||||
continue
|
||||
}
|
||||
fmt.Printf("Database changed to: %s\n\n", dbName)
|
||||
queryBuffer.Reset()
|
||||
continue
|
||||
}
|
||||
|
||||
// Handle output format switching
|
||||
|
||||
Reference in new issue
Block a user