From 46ee1bc4616c65bbdcd2190f80c32b851be22e87 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 17 Jul 2024 13:04:21 -0500 Subject: [PATCH] Fix use workspace command --- singlestoredb/fusion/handlers/workspace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/singlestoredb/fusion/handlers/workspace.py b/singlestoredb/fusion/handlers/workspace.py index cc403062..ee8f419f 100644 --- a/singlestoredb/fusion/handlers/workspace.py +++ b/singlestoredb/fusion/handlers/workspace.py @@ -27,7 +27,7 @@ class UseWorkspaceHandler(SQLHandler): workspace_name = '' # Current workspace - current_workspace = @CURRENT + current_workspace = @@CURRENT # Name of database with_database = WITH DATABASE 'database-name' @@ -44,7 +44,7 @@ class UseWorkspaceHandler(SQLHandler): Remarks ------- * If you want to specify a database in the current workspace, - the workspace name can be specified as @CURRENT. + the workspace name can be specified as @@CURRENT. * Specify the ``WITH DATABASE`` clause to select a default database for the session. * This command only works in a notebook session in the