Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 surveying the Monastery: (13)
As of 2015-07-06 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls