Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 exploiting the Monastery: (9)
As of 2014-10-01 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (32 votes), past polls