*/
/*
- Copyright (C) 2002 Kern Sibbald and John Walker
+ Copyright (C) 2002-2004 Kern Sibbald and John Walker
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
{
struct s_oldest_ctx oldest;
POOLMEM *query = get_pool_memory(PM_EMSG);
- char *select =
+ const char *select =
"SELECT MediaId,LastWritten FROM Media "
"WHERE PoolId=%u AND Recycle=1 AND VolStatus='Purged' "
"AND MediaType='%s' %s"