-
Notifications
You must be signed in to change notification settings - Fork 64
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
Procedures input and output parameters do not support TYPE OF COLUMN #169
Comments
…TYPE OF COLUMN mariuz#169 - Wrong "Create Selectable SP" and "Create Selectable EB" output mariuz#78
Retest result on FlameRobin v0.9.3.7: FAILED! ACTUAL RESULT
ALTER PROCEDURE USER_SEARCH ( |
@Jdochoa
Actual:
|
Hi @arvanus. i can't reproduce it, do you have more information? ./jo |
Hi @arvanus Using this flamerobin.7z I also NOT able to reproduce the issue that you mentioned. Which Firebird version are you using? |
Sorry, forgot to mention "type of", try with these:
|
Hi @arvanus I can now reproduce the issue that you mentioned. Best regards, |
Fix it. |
Hi @Jdochoa Could you generate a new build of FlameRobin so that I can help in validating the open issue? Thanks in advance, |
./jo |
Looks Fixed to me |
Hi @Jdochoa This FlameRobin version do not list the procedures Input/Output parameters: |
Hi @luronumen. I can't reproduce it, please verify your preferences Or wait the next snapshot. |
Hi @Jdochoa After set Show columns and parameters in tree this issue is NOT reproducible! Best regards, |
Hi @Jdochoa Retest result on flamerobin.zip:
|
Hi @luronumen. I'm not sure about this, Flamerobin behaves like this: If Only Show Datatype is checked, show this. If Only Show domains is checked, show this. If Show Boot domain and Datatype is checked, show this In which scenario should I check type of? ./jo |
Hi @Jdochoa For the fields of a procedure that are defined as a TYPE OF COLUMN instead of the traditional field types (varchar, int, float, etc) I think it makes more sense to always show < tablename > . < columnname > instead of the traditional types (varchar, int, float, etc.) Based on this I believe that we should check if a field of a procedure is TYPE OF COLUMN in all three possibilities:
Does it make sense to you too? |
- Procedures input and output parameters do not support TYPE OF COLUMN mariuz#169
Hi @luronumen It is modified so that instead of DataType, typeOf is displayed, please review at https://github.com/Jdochoa/flamerobin.git ./jo |
Hi @Jdochoa Could you generate a new build of FlameRobin so that I can validating the fix? Thanks in advance, |
Thank you @luronumen, Fix it. ./jo |
Hi @luronumen It's possible, but not easy. we need some changes in the datatypes. ./jo |
Hi @Jdochoa No problem for me to wait. Best Regards, |
Hello everyone |
Hi @arvanus Did you mean replace the true/false strings in the grid with a checkbox in the Boolean type representation? Best Regards, |
Now I understand @arvanus ! |
Sorry @Jdochoa, I didn't understand what you meant |
Hi @Jdochoa The following issue is happening when I try to delete a record: |
Retest result on FlameRobin 0.9.3.12: PASS! Best Regards, |
* master: (30 commits) Update codeql-analysis.yml Update _ibpp.cpp Update fr_settings.confdef Fix NO PAD collation bug Fix minor error. Update ExecuteSqlFrame.cpp Fix: mariuz#260 Fix mariuz#68 minor fix Show error msg when save SQL file failed configuration for FB library is added (Application level) Library per conexión Add 32768 for restore with Firebird 4 mariuz#242 Import patchs from IBPP in SourceForge mariuz#215 Alter Database Linger value mariuz#217 Increment year to 2022 Fix: Cosmetic issue with full DDL extraction mariuz#243 Fix: Incorrect trigger state display mariuz#252 Fix: Primary Keys and Foreign Keys are not listed on Indexes node mariuz#180 Fix: Procedures input and output parameters do not support TYPE OF COLUMN mariuz#169 ...
ACTUAL RESULT
ALTER PROCEDURE USER_SEARCH (
ID BIGINT )
RETURNS (
USER_NAME VARCHAR(32),
FIRST_NAME VARCHAR(32),
LAST_NAME VARCHAR(32),
SITE_ID BIGINT,
DBA TYPE OF VISIBLE,
KEEPALIVE_TIME TIMESTAMP,
VISIBLE TYPE OF VISIBLE,
FULL_NAME VARCHAR(100) )
EXPECTED RESULT
ALTER PROCEDURE USER_SEARCH (
ID TYPE OF COLUMN USERS.ID )
RETURNS (
USER_NAME TYPE OF COLUMN USERS.USER_NAME,
FIRST_NAME TYPE OF COLUMN USERS.FIRST_NAME,
LAST_NAME TYPE OF COLUMN USERS.LAST_NAME,
SITE_ID TYPE OF COLUMN USERS.SITE_ID,
DBA TYPE OF COLUMN USERS.DBA,
KEEPALIVE_TIME TYPE OF COLUMN USERS.KEEPALIVE_TIME,
VISIBLE OF COLUMN USERS.VISIBLE,
FULL_NAME TYPE OF COLUMN USERS.FULL_NAME )
STEPS TO REPRODUCE THIS ISSUE
1- Create a Firebird 3.0 database with the following DDL instruction: FB30_DDL.txt
Right mouse click on USER_SEARCH procedure and then select Alter; input and output parameters are not showed as TYPE OF COLUMN
Double mouse click on USER_SEARCH procedure to Open the procedure property; input and output parameters are not showed as TYPE OF COLUMN.
IMPORTANT NOTES
For more details about the Use of Column Type in Declarations please check:
https://firebirdsql.org/file/documentation/html/en/refdocs/fblangref25/firebird-25-language-reference.html#fblangref25-ddl-proc-paramscoltype
The text was updated successfully, but these errors were encountered: