I've no doubt this is a bug for the linux release. It should be filtering the 
string literals before doing the conversion as it does on Windows.
The way I've solved was by creating a global temporary table and copying the 
values from a view, converting the varchar to time. So now, when I perform DATA 
+ TIME = TIMESTAMP in a right way. This is not optimal, but it does work 
meantime the issue can be evaluated by the firebird team.
Thanks & regards, _______________________________ 
I'm free, I use GNU/Linux. 
Close your Windows, 
Open your mind.

      De: "Mark Rotteveel m...@lawinegevaar.nl [firebird-support]" 
<firebird-support@yahoogroups.com>
 Para: firebird-support@yahoogroups.com 
 Enviado: Martes, 5 de abril, 2016 6:20:53
 Asunto: Re: [firebird-support] Timestamp conversion issue
   
    On 2016-04-05 10:47, Alex Castillo acr_k...@yahoo.com 
[firebird-support] wrote:
> Hello everyone,
>
> I'm having some issues with a stored procedure. This is a legacy
> development, so the time was stored in a varchar field and the date 
> in
> a timestamp field.
>
> The issue stills happens after the upgrade from 2.1.5 to 2.1.7 on
> linux open suse 11.4 x64, classic engine. However, this is not
> happening on my development machine using Windows XP. Even on my
> development environment I've restored the database to 2.1.5 using
> classic and super, but the issue is not being reproduced there, It
> seems to be a linux specific issue. In both cases I'm using 
> FlameRobin
> as client.

Could you show a sample of the time values? As far as I know Firebird 
use platform specific time conversion functions. This means that 
non-SQL-standard formats can fail or succeed depending on the platform 
(and maybe regional settings).

Mark
  #yiv9603048752 #yiv9603048752 -- #yiv9603048752ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv9603048752 
#yiv9603048752ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv9603048752 
#yiv9603048752ygrp-mkp #yiv9603048752hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv9603048752 #yiv9603048752ygrp-mkp #yiv9603048752ads 
{margin-bottom:10px;}#yiv9603048752 #yiv9603048752ygrp-mkp .yiv9603048752ad 
{padding:0 0;}#yiv9603048752 #yiv9603048752ygrp-mkp .yiv9603048752ad p 
{margin:0;}#yiv9603048752 #yiv9603048752ygrp-mkp .yiv9603048752ad a 
{color:#0000ff;text-decoration:none;}#yiv9603048752 #yiv9603048752ygrp-sponsor 
#yiv9603048752ygrp-lc {font-family:Arial;}#yiv9603048752 
#yiv9603048752ygrp-sponsor #yiv9603048752ygrp-lc #yiv9603048752hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv9603048752 
#yiv9603048752ygrp-sponsor #yiv9603048752ygrp-lc .yiv9603048752ad 
{margin-bottom:10px;padding:0 0;}#yiv9603048752 #yiv9603048752actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv9603048752 
#yiv9603048752activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv9603048752
 #yiv9603048752activity span {font-weight:700;}#yiv9603048752 
#yiv9603048752activity span:first-child 
{text-transform:uppercase;}#yiv9603048752 #yiv9603048752activity span a 
{color:#5085b6;text-decoration:none;}#yiv9603048752 #yiv9603048752activity span 
span {color:#ff7900;}#yiv9603048752 #yiv9603048752activity span 
.yiv9603048752underline {text-decoration:underline;}#yiv9603048752 
.yiv9603048752attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv9603048752 .yiv9603048752attach div a 
{text-decoration:none;}#yiv9603048752 .yiv9603048752attach img 
{border:none;padding-right:5px;}#yiv9603048752 .yiv9603048752attach label 
{display:block;margin-bottom:5px;}#yiv9603048752 .yiv9603048752attach label a 
{text-decoration:none;}#yiv9603048752 blockquote {margin:0 0 0 
4px;}#yiv9603048752 .yiv9603048752bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv9603048752 
.yiv9603048752bold a {text-decoration:none;}#yiv9603048752 dd.yiv9603048752last 
p a {font-family:Verdana;font-weight:700;}#yiv9603048752 dd.yiv9603048752last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv9603048752 
dd.yiv9603048752last p span.yiv9603048752yshortcuts 
{margin-right:0;}#yiv9603048752 div.yiv9603048752attach-table div div a 
{text-decoration:none;}#yiv9603048752 div.yiv9603048752attach-table 
{width:400px;}#yiv9603048752 div.yiv9603048752file-title a, #yiv9603048752 
div.yiv9603048752file-title a:active, #yiv9603048752 
div.yiv9603048752file-title a:hover, #yiv9603048752 div.yiv9603048752file-title 
a:visited {text-decoration:none;}#yiv9603048752 div.yiv9603048752photo-title a, 
#yiv9603048752 div.yiv9603048752photo-title a:active, #yiv9603048752 
div.yiv9603048752photo-title a:hover, #yiv9603048752 
div.yiv9603048752photo-title a:visited {text-decoration:none;}#yiv9603048752 
div#yiv9603048752ygrp-mlmsg #yiv9603048752ygrp-msg p a 
span.yiv9603048752yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv9603048752 
.yiv9603048752green {color:#628c2a;}#yiv9603048752 .yiv9603048752MsoNormal 
{margin:0 0 0 0;}#yiv9603048752 o {font-size:0;}#yiv9603048752 
#yiv9603048752photos div {float:left;width:72px;}#yiv9603048752 
#yiv9603048752photos div div {border:1px solid 
#666666;height:62px;overflow:hidden;width:62px;}#yiv9603048752 
#yiv9603048752photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv9603048752
 #yiv9603048752reco-category {font-size:77%;}#yiv9603048752 
#yiv9603048752reco-desc {font-size:77%;}#yiv9603048752 .yiv9603048752replbq 
{margin:4px;}#yiv9603048752 #yiv9603048752ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv9603048752 #yiv9603048752ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv9603048752 
#yiv9603048752ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv9603048752 
#yiv9603048752ygrp-mlmsg select, #yiv9603048752 input, #yiv9603048752 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv9603048752 
#yiv9603048752ygrp-mlmsg pre, #yiv9603048752 code {font:115% 
monospace;}#yiv9603048752 #yiv9603048752ygrp-mlmsg * 
{line-height:1.22em;}#yiv9603048752 #yiv9603048752ygrp-mlmsg #yiv9603048752logo 
{padding-bottom:10px;}#yiv9603048752 #yiv9603048752ygrp-msg p a 
{font-family:Verdana;}#yiv9603048752 #yiv9603048752ygrp-msg 
p#yiv9603048752attach-count span {color:#1E66AE;font-weight:700;}#yiv9603048752 
#yiv9603048752ygrp-reco #yiv9603048752reco-head 
{color:#ff7900;font-weight:700;}#yiv9603048752 #yiv9603048752ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv9603048752 #yiv9603048752ygrp-sponsor 
#yiv9603048752ov li a {font-size:130%;text-decoration:none;}#yiv9603048752 
#yiv9603048752ygrp-sponsor #yiv9603048752ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv9603048752 
#yiv9603048752ygrp-sponsor #yiv9603048752ov ul {margin:0;padding:0 0 0 
8px;}#yiv9603048752 #yiv9603048752ygrp-text 
{font-family:Georgia;}#yiv9603048752 #yiv9603048752ygrp-text p {margin:0 0 1em 
0;}#yiv9603048752 #yiv9603048752ygrp-text tt {font-size:120%;}#yiv9603048752 
#yiv9603048752ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv9603048752 

  
  • [firebird-support] ... Alex Castillo acr_k...@yahoo.com [firebird-support]
    • Re: [firebird-... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
      • Re: [fireb... Alex Castillo acr_k...@yahoo.com [firebird-support]
        • Re: [f... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]

Reply via email to