Subject Re: [firebird-php] bleeding timestamps.
Author Jochem Maas
oh dear nevermind - I'm an idiot (I had the fieldname setup in my dataclass as a totally different
field for starters - obviously you get an error if you try and dump and int into a varchar !!!)

forgive me it's friday :-)

ps - Ard, I tried to cc you the original email - but I wrote an incorrect email addr -
I was wondering if you could tell me if/what anything needs doing with regard to the
source code of the ibase extension see:

http://cvs.php.net/co.php/php-src/ext/interbase/ibase_query.c?r=1.21.2.1#575

if you recall we had a look at this together last to you came round. thanking you for your
input/time/42s

rgds,
Jochem

Jochem Maas wrote:
> hi guys - Im stuck and have a deadline from hell....
>
> I'm trying to fill a timestamp field - and my starting point is a unix timestamp
> value as integer - now I'm sure this used to work (that is passing the int to firebird
> extension as a query param and letting the extension deal with the transliteration...
> but an upgrade to to the core of php (IIRC) removed the use std of strptime()
> in favor of a php specific version which broke the following
> bit in the ibase extension (link to source:
> http://cvs.php.net/co.php/php-src/ext/interbase/ibase_query.c?r=1.21.2.1#575)
>
> anyway I've had a brain freeze - anyone able to tell me how to hack the ***
> around this little problem (preferably in way that won't break if/when this stuff
> is fixed??) ... I'd be very very grateful.
>
> thanks/regards/begging,
> Jochem
>
>
> PS - Ard could you take a look at the source? provide a fix? another solution?
> point me at the person I should be bugging (sniper?) - many thanks as always :-)
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>