Skip to content
Extraits de code Groupes Projets

Moving queue_tmp to permanent table to fix the __queue_reorder crash

Fusionnées Elliu a demandé de fusionner fix-insert vers master
1 fichier
+ 2
2
Comparer les modifications
  • Côte à côte
  • En ligne
+ 2
2
@@ -77,8 +77,8 @@ CREATE TABLE IF NOT EXISTS queue
, priority INTEGER NOT NULL DEFAULT 1 CHECK(priority > 0 AND priority < 6)
);
-- Temporary queue table used when reorderingg the queue (for inserts)
CREATE TEMPORARY TABLE queue_tmp IF NOT EXISTS
-- Temporary queue table used when reordering the queue (for inserts)
CREATE TABLE IF NOT EXISTS queue_tmp
( position INTEGER PRIMARY KEY AUTOINCREMENT CHECK(position > 0)
, kara_id INTEGER
, priority INTEGER NOT NULL DEFAULT 1 CHECK(priority > 0 AND priority < 6)
Chargement en cours