Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Mocking time with SQLite

by jaldhar (Vicar)
on Dec 26, 2010 at 14:59 UTC ( #879216=note: print w/ replies, xml ) Need Help??


in reply to Re: Mocking time with SQLite
in thread Mocking time with SQLite

Yet another update. It's CURRENT_TIMESTAMP (I left out the underscore.) Now this works:

dbh->sqlite_create_function( 'CURRENT_TIMESTAMP', 0, \&my_fake_time );

--
જલધર


Comment on Re^2: Mocking time with SQLite
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (16)
As of 2014-12-18 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls