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

Problem upgrade to FIREBIRD 2.5 (from 2.1) [CORE3441] #3803

Closed
firebird-automations opened this issue Apr 13, 2011 · 3 comments
Closed

Problem upgrade to FIREBIRD 2.5 (from 2.1) [CORE3441] #3803

firebird-automations opened this issue Apr 13, 2011 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: GAIE PF (pfg)

hello,

Firebird 1.5 to 2.1 with this sql query works :

sql.add('UPDATE STOCK SET ');
sql.add(' QTEDEPART=QTEDEPART+ :QTEDEPART');
sql.add(', QTEENTREE=QTEENTREE+ :QTEENTREE');
sql.add(', QTESORTIE=QTESORTIE+ :QTESORTIE');
sql.add(', QTESTOCK=QTEDEPART+QTEENTREE-QTESORTIE ');

but she no longer works on the last line with Firebird 2.5 and you must write

sql.add(', QTESTOCK=QTEDEPART+ :QTEDEPART +QTEENTREE + :QTEENTREE -QTESORTIE -:QTESORTIE');

but with this line, Firebird 2.1 doubles matches....

this poses a problem when you have many clients already installed. ( upgrade firebird to 2.5)

Many thank's
Pierre François GAIE
7G SOFT

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Read firebird.conf regarding the parameter OldSetClauseSemantics.

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

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

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

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
Projects
None yet
Development

No branches or pull requests

1 participant