Skip to content

Commit

Permalink
SQLite: cats: remove remaining mentions of sqlite in code
Browse files Browse the repository at this point in the history
  • Loading branch information
alaaeddineelamri committed Feb 27, 2023
1 parent df4fc07 commit c3f4ff8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/cats/dml/check_queries
Expand Up @@ -5,7 +5,7 @@
#
for i in 0*
do
for j in postgresql mysql sqlite3
for j in postgresql mysql
do
if [ -f $i.$j ]; then
cmp -s $i $i.$j
Expand Down
2 changes: 1 addition & 1 deletion core/src/cats/dml/create_queryfiles.sh
Expand Up @@ -20,7 +20,7 @@
# 02110-1301, USA.


DATABASES="sqlite postgresql mysql"
DATABASES="postgresql mysql"
QUERY_NAMES_FILE="../bdb_query_names.inc"
QUERY_ENUM_FILE="../bdb_query_enum_class.h"

Expand Down
2 changes: 1 addition & 1 deletion core/src/cats/sql.cc
Expand Up @@ -27,7 +27,7 @@
*
* Almost generic set of SQL database interface routines
* (with a little more work) SQL engine specific routines are in
* mysql.c, postgresql.c, sqlite.c, ...
* mysql.c, postgresql.c, ...
*/

#include "include/bareos.h"
Expand Down
1 change: 0 additions & 1 deletion core/src/dird/ua_prune.cc
Expand Up @@ -481,7 +481,6 @@ static bool prune_set_filter(UaContext* ua,
strlen(pool->resource_name_));
Mmsg(tmp, " AND Pool.Name = '%s' ", ed2);
PmStrcat(*add_where, tmp.c_str());
/* Use ON() instead of USING for some old SQLite */
PmStrcat(*add_from, " JOIN Pool USING(PoolId) ");
}
Dmsg2(150, "f=%s w=%s\n", add_from->c_str(), add_where->c_str());
Expand Down

0 comments on commit c3f4ff8

Please sign in to comment.