Name
Last commit
Last update
LICENSE Initial commit
Makefile First commit
README.md Update README.md
microsecnow.c Added license header

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>