source:
MML/trunk/applications/database/mym/utilities/mycheck.m
Last change on this file was 4, checked in by , 11 years ago | |
---|---|
File size: 292 bytes |
Rev | Line | |
---|---|---|
[4] | 1 | function[on] = mycheck |
2 | % MYCHECK Show status of MySQL connection | |
3 | % INPUTS : None | |
4 | % OUTPUTS : ON, logical, 1 if a connection is open, 0 if not | |
5 | % EXAMPLE : mycheck | |
6 | % AUTHOR : Dimitri Shvorob, dimitri.shvorob@vanderbilt.edu, 8/7/06 | |
7 | if ~mym('status') | |
8 | on = true; | |
9 | else | |
10 | on = false; | |
11 | end |
Note: See TracBrowser
for help on using the repository browser.