use schema instead of inferred result types

This commit is contained in:
chrislu committed 2025-09-02 20:59:13 -07:00
1 parent 316d1cdda7
commit e14a316aeb
5 files changed
+105 -20

No files matched your search

+3 -4
View File
@@ -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