summaryrefslogtreecommitdiff
path: root/rhnop-client/db.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-03-11 15:43:26 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-03-11 15:43:26 (GMT)
commit530792d9e36bc13ca5edfd5d9e8edf4a5e21ade2 (patch)
treef55eb234f3420d66437aee2db0245f13be4ac560 /rhnop-client/db.lua
parent11669547c1caf8af430dfb806d413149f21dc9c9 (diff)
fix for utf-8 patch
Diffstat (limited to 'rhnop-client/db.lua')
-rw-r--r--rhnop-client/db.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhnop-client/db.lua b/rhnop-client/db.lua
index bf27bef..4c0a107 100644
--- a/rhnop-client/db.lua
+++ b/rhnop-client/db.lua
@@ -54,7 +54,7 @@ function db.init(db, user, pwd, host, port, table)
return nil, err
end
- local ret, err = self.con:execute("SET CHARACTER SET utf8")
+ local ret, err = mydb.con:execute("SET CHARACTER SET utf8")
if ret == nil then
return nil, err
end