Functions lpad-rpad fails in the same statement
------------------------------------------------
Key: CORE-5073
URL: http://tracker.firebirdsql.org/browse/CORE-5073
Project: Firebird Core
Issue Type: Bug
Affects Versions: 2.5.5
Environment: Windows
Reporter: Vicente Tejero Trueba
When I execute this statement
SELECT RPAD('hola',CHAR_LENGTH('hola')+7,'-') as rpad,
LPAD('hola',CHAR_LENGTH('hola')+5,';') as lpad
FROM rdb$database;
The server fails with
Engine Code : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -204
Implementation limit exceeded
block size exceeds implementation restriction
The statements
SELECT RPAD('hola',CHAR_LENGTH('hola')+7,'-') as rpad
FROM rdb$database;
SELECT LPAD('hola',CHAR_LENGTH('hola')+5,';') as lpad
FROM rdb$database;
don't fails
--
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
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel