summaryrefslogtreecommitdiff
path: root/rhnop-server/playlog.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-03-30 15:55:16 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-03-30 15:55:16 (GMT)
commit3aca5caf2d9c7a587e3448cfc1b57cad6855aa91 (patch)
treeb89208774145702179f768ea1f00ed9108fdaf46 /rhnop-server/playlog.lua
parent7807a34f747ac989108337a92138f7ade4e61ee4 (diff)
fixed mq.create vs mq.open bug
some cleanups
Diffstat (limited to 'rhnop-server/playlog.lua')
-rw-r--r--rhnop-server/playlog.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/rhnop-server/playlog.lua b/rhnop-server/playlog.lua
index 37b9ea6..99fc5fe 100644
--- a/rhnop-server/playlog.lua
+++ b/rhnop-server/playlog.lua
@@ -23,7 +23,8 @@ require "luasql.mysql"
-- CREATE DATABASE rhnop
-- GRANT select,insert,update ON rhnop.* TO 'nopsyncd' IDENTIFIED BY '123456';
--- CREATE TABLE IF NOT EXISTS now (timestamp VARCHAR(16) PRIMARY KEY NOT NULL, cart INT NOT NULL, len INT, showtitle VARCHAR(255), title VARCHAR(255), artist VARCHAR(255), album VARCHAR(255), ismusic BOOLEAN)
+-- USE rhnop
+-- CREATE TABLE IF NOT EXISTS now (timestamp VARCHAR(16) PRIMARY KEY NOT NULL, cart INT NOT NULL, len INT, showtitle VARCHAR(255), title VARCHAR(255), artist VARCHAR(255), album VARCHAR(255), ismusic BOOLEAN);
conf = require "conf"