mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2025-01-31 16:52:12 +01:00
Order query.
This commit is contained in:
parent
8b8530e61f
commit
5c2b66906e
@ -80,8 +80,9 @@ if ($#ARGV>=0) {
|
||||
}
|
||||
|
||||
my $dbh = DBI->connect($db, $dbuser, $dbpasswd, {'RaiseError' => 1});
|
||||
my $sth = $dbh->prepare
|
||||
('SELECT serialnr, publicname, internalname, aeskey FROM yubikeys')
|
||||
my $sth = $dbh->prepare ('SELECT serialnr, publicname, internalname, aeskey '.
|
||||
'FROM yubikeys '.
|
||||
'ORDER BY serialnr')
|
||||
or die "Couldn't prepare statement: " . $dbh->errstr;
|
||||
$sth->execute()
|
||||
or die "Couldn't execute statement: " . $sth->errstr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user