List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:June 20 2003 2:09pm
Subject:Re: extending MySql
View as plain text  
In the last episode (Jun 20), Prem Soman said:
> that was very useful for me. can these UDF's provide a better way to
> access the sever specific information such as the date and number of
> times the server was restarted

The server does not know how many times it has been restarted.  You can
easily enough write a wrapper script that keeps count, though.  As for
the date, just call gettimeofday() or time() from C, or SELECT NOW()
from MySQL.

	Dan Nelson
extending MySqlPrem Soman20 Jun
  • Re: extending MySqlDan Nelson20 Jun
    • Re: extending MySqlPrem Soman21 Jun