aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqlite2/queryexecutorsqlite2delete.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
commit558b1e35fd0777ac97763c1b28056ac984e583e7 (patch)
tree1eb2557119a117ea76535c89cd14a49e510b96bf /Plugins/DbSqlite2/queryexecutorsqlite2delete.h
parentc22eb635c11fd45f9c30f911d70e1d79111a49ce (diff)
parent1fdc150116cad39aae5c5da407c3312b47a59e3a (diff)
Update upstream source from tag 'upstream/3.3.3+dfsg1'
Update to upstream version '3.3.3+dfsg1' with Debian dir 9a301fff4922aed2fec0c04c7d011947168c42f1
Diffstat (limited to 'Plugins/DbSqlite2/queryexecutorsqlite2delete.h')
-rw-r--r--Plugins/DbSqlite2/queryexecutorsqlite2delete.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/Plugins/DbSqlite2/queryexecutorsqlite2delete.h b/Plugins/DbSqlite2/queryexecutorsqlite2delete.h
deleted file mode 100644
index 5d3f478..0000000
--- a/Plugins/DbSqlite2/queryexecutorsqlite2delete.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef QUERYEXECUTORSQLITE2DELETE_H
-#define QUERYEXECUTORSQLITE2DELETE_H
-
-#include "db/queryexecutorsteps/queryexecutorstep.h"
-
-/**
- * @brief The QueryExecutorSqlite2Delete class
- *
- * From SQLite2 documentation:
- *
- * Because of this optimization, the change count for "DELETE FROM table" will be zero
- * regardless of the number of elements that were originally in the table.
- * To get an accurate count of the number of rows deleted, use "DELETE FROM table WHERE 1" instead.
- *
- * This extra step will add "WHERE 1" if there is no WHERE for DELETE query.
- *
- */
-class QueryExecutorSqlite2Delete : public QueryExecutorStep
-{
- public:
- bool exec();
-};
-
-#endif // QUERYEXECUTORSQLITE2DELETE_H