]> git.sur5r.net Git - bacula/bacula/commit
Fix bug #1859
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 26 Jun 2012 15:05:35 +0000 (17:05 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:51 +0000 (14:50 +0200)
commit073f3c74b55f1795a746639d5130b9ca1c4818e7
treeb326d739fc7ab6d823dab07ff7bd0daa8d1e9fe0
parent53880c893068baa77b0a4936cb3f488df2abd3fe
Fix bug #1859

SQL syntax error in UPDATE Counters and INSERT INTO Counters using
"Counters.MinValue" and "Counters.MaxValue"

Create specific queries in sql_cmds.c for the two queries in the
code that select and update counter records in the database.

All default queries in the sql_cmds.c are static from now on as
we don't want to polute the namespace with data that is only used
within sql_cmds.c to initialize the backend specific sql tables.

Removed all trailing spaces in sql_cmds.c
bacula/src/cats/sql_cmds.c
bacula/src/cats/sql_cmds.h
bacula/src/cats/sql_get.c
bacula/src/cats/sql_update.c