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

Wrong metadata output script generate by isql / CHARACTER SETISO8859_1 sintaxe error. [CORE4137] #4464

Closed
firebird-issue-importer opened this issue Jul 2, 2013 · 7 comments

Comments

@firebird-issue-importer
Copy link

firebird-issue-importer commented Jul 2, 2013

Submitted by: hamacker (hamacker)

Attachments:
sesmt-wrong-metadata-on-procedures.sql

Try :
isql.exe" 'C:\SESMT\DADOS\SESMT.FDB' -U "SYSDBA" -P "masterkey" -x -now -o "c:\temp\sesmt.sql"
to extract metadata from semst database and output to a file c:\temp\sesmt.sql;
But some errors appear inside c:\temp\sesmt.sql script at create/alter procedures (all of them).
all char/varchar declarations like
declare variable test char(1) = 'A';
or
create procedure test(param char(10) output pout varchar(30))

will be transfomed to :
declare variable test char(1) = 'A' CHARACTER SETISO8859_1 ;
create procedure test(param char(10) CHARACTER SETISO8859_1
output pout varchar(30) CHARACTER SETISO8859_1 )

I believe that missed space from SET<SPACE>ISO8859_1.

I do some tests like recreate a fresh new database from script generate by ibexpert (100% done well) and generate again with 'isql' and ever with same bug result.
None bugs happens with others types, even domain. This error only appear with char or varchar declarations.

thx

Commits: c004120 272b47f FirebirdSQL/fbt-repository@beb59b1 FirebirdSQL/fbt-repository@366c20d

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 2, 2013

Modified by: hamacker (hamacker)

Attachment: sesmt-wrong-metadata-on-procedures.sql [ 12342 ]

description: Try :
isql.exe "localhost:F:\SESMT\dados\SESMT.fdb" -U "SYSDBA" -P "masterkey" -now -i "c:\temp\sesmt.sql" -o "c:\temp\firebird-isql.log"

to extract metadata from semst database.
But some errors appear inside script at create/alter procedures (all of them).
all char/varchar declarations like
declare variable test char(1) = 'A';
or
create procedure test(param char(10) output pout varchar(30))

will be transfomed to :
declare variable test char(1) = 'A' CHARACTER SETISO8859_1 ;
create procedure test(param char(10) CHARACTER SETISO8859_1
output pout varchar(30) CHARACTER SETISO8859_1 )

I believe that missed space from SET<SPACE>ISO8859_1.

I do some tests like recreate a fresh new database from script generate by ibexpert (100% done well) and generate again with 'isql' and ever with same bug result.
None bugs happens with others types, even domain. This error only appear with char or varchar declarations.

thx

=>

Try :
isql.exe" 'C:\SESMT\DADOS\SESMT.FDB' -U "SYSDBA" -P "masterkey" -x -now -o "c:\temp\sesmt.sql"
to extract metadata from semst database and output to a file c:\temp\sesmt.sql;
But some errors appear inside c:\temp\sesmt.sql script at create/alter procedures (all of them).
all char/varchar declarations like
declare variable test char(1) = 'A';
or
create procedure test(param char(10) output pout varchar(30))

will be transfomed to :
declare variable test char(1) = 'A' CHARACTER SETISO8859_1 ;
create procedure test(param char(10) CHARACTER SETISO8859_1
output pout varchar(30) CHARACTER SETISO8859_1 )

I believe that missed space from SET<SPACE>ISO8859_1.

I do some tests like recreate a fresh new database from script generate by ibexpert (100% done well) and generate again with 'isql' and ever with same bug result.
None bugs happens with others types, even domain. This error only appear with char or varchar declarations.

thx

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 2, 2013

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 3, 2013

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.3 [ 10461 ]

Fix Version: 3.0 Alpha 2 [ 10560 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 22, 2013

Modified by: @dyemanov

security: Developers [ 10012 ] =>

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 22, 2013

Modified by: @dyemanov

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 3.0 Alpha 2 [ 10560 ] =>

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 29, 2015

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 22, 2015

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment