Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understand GO as well as go #10

Open
epa opened this issue Nov 15, 2024 · 1 comment
Open

Understand GO as well as go #10

epa opened this issue Nov 15, 2024 · 1 comment

Comments

@epa
Copy link

epa commented Nov 15, 2024

Microsoft's tools such as sqlcmd allow 'GO' as the batch separator but sqsh is case-sensitive here and only allows 'go'. That's unfortunate because many scripting tools nowadays will output GO. Please get sqsh to accept both forms.

@epa
Copy link
Author

epa commented Nov 15, 2024

I believe this is simply

diff -ru sqsh-3.0/src/alias.h sqsh-3.0-new/src/alias.h
--- sqsh-3.0/src/alias.h	2023-12-05 06:10:36.000000000 +0000
+++ sqsh-3.0-new/src/alias.h	2024-11-15 13:12:13.716549610 +0000
@@ -48,6 +48,7 @@
 	{ "quit",        "\\exit"                        },
 	{ "edit",        "\\buf-edit"                    },
 	{ "go",          "\\go"                          },
+	{ "GO",          "\\go"                          },
 	{ "help",        "\\help"                        },
 
 } ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant