-
Notifications
You must be signed in to change notification settings - Fork 54
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
Panic when calling procedure #20
Comments
Yes, the ? is interpreted as place-holder for an in, in-out or out variable of the stored procedure. For what does the ? stand in your example? Can you please share the definition of the stored procedure and the go code calling it? |
@d024441, according to the HANA Help Page:
and
Without the question mark, how else could I invoke a procedure to simply get its result (as opposed to calling from within another procedure where the result could be stored in a local variable)? Thanks! |
Hi @arthurpaimarnold,
Yes, sure. Please check the example code - maybe this will help: If not - to reproduce the issue, we need
|
@d024441 the examples you provided solved the issue. Thank you very much! |
When trying to execute
we get an
invalid memory address or nil pointer dereference
error.This seems to be related to the use of the question mark, so maybe the driver is interpreting it as a placeholder in a prepared statement? If so, is it possible to escape it?
The text was updated successfully, but these errors were encountered: