Incorrect default value when adding a new column
------------------------------------------------
Key: CORE-4351
URL: http://tracker.firebirdsql.org/browse/CORE-4351
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.1.5
Environment: Windows 7 x86, Sql executed on flamerobin
Reporter: Yiannis Bourkelis
Attachments: Database.fdb
On the existing table PRACTICEIFO which contains one record, I want to add a
new field with name: GOOGLE_PASSWORD and default value: 'MdX8fLruCUQ=' using
the following query, however when executing the query the default value of the
new field is incorrect.
Steps to reproduce:
Execute the following sql statement on the attached database:
ALTER TABLE PRACTICEINFO ADD GOOGLE_PASSWORD VARCHAR(400) CHARACTER SET UTF8
DEFAULT 'MdX8fLruCUQ=' NOT NULL COLLATE UTF8;
Expected results:
The value of GOOGLE_PASSWORD column on existing record shoud be 'MdX8fLruCUQ='
Actual results:
The value of GOOGLE_PASSWORD column on existing records is 'MdX'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel