Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
2ab61584
Commit
2ab61584
authored
Aug 22, 2003
by
Mac Newbold
Browse files
Add a warning so that this doesn't do the wrong thing now that the schema changed out from under it
parent
de55a5ab
Changes
1
Show whitespace changes
Inline
Side-by-side
sql/initstats.pl
View file @
2ab61584
...
...
@@ -16,6 +16,12 @@ use libtestbed;
$ENV
{'
PATH
'}
=
'
/bin:/usr/bin:/usr/sbin
';
delete
@ENV
{'
IFS
',
'
CDPATH
',
'
ENV
',
'
BASH_ENV
'};
die
("
This script hasn't been updated to match schema changes yet!
\n
"
.
"
It still uses the lastlogin table, which was replaced by three
\n
"
.
"
different tables:
\n
"
.
"
nodeuidlastlogin, uidnodelastlogin, and userslastlogin
\n
"
.
"
Please fix this before trying to use it!
\n
");
$query_result
=
DBQueryFatal
("
select pid,gid from groups
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment