Skip to content

lesinigo/mysql_microsecnow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mysql_microsecnow

Mysql UDF to add a clone of NOW() that return microseconds

After installing it, just execute in the mysql shell:

CREATE FUNCTION microsecnow RETURNS INTEGER SONAME 'microsecnow.so';

and the you can do:

mysql> SELECT MICROSECNOW();
+------------------+
| MICROSECNOW()    |
+------------------+
| 1393634420837085 |
+------------------+
1 row in set (0.00 sec)

mysql> 

About

my fork of nexlab/mysql_microsecnow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.4%
  • Makefile 28.6%