onedb_backend.patch
/usr/lib/one/ruby/onedb/onedb_backend.rb 2011-07-22 13:32:41.370826003 +0200 | ||
---|---|---|
115 | 115 |
end |
116 | 116 |
end |
117 | 117 | |
118 |
class OneDBBackEndMySQL < OneDBBacKEnd
|
|
118 |
class BackEndMySQL < OneDBBacKEnd |
|
119 | 119 |
def initialize(opts={}) |
120 |
@server = opt[:server] |
|
121 |
@port = opt[:port] |
|
122 |
@user = opt[:user] |
|
123 |
@passwd = opt[:passwd] |
|
124 |
@db_name = opt[:db_name] |
|
120 |
@server = opts[:server]
|
|
121 |
@port = opts[:port]
|
|
122 |
@user = opts[:user]
|
|
123 |
@passwd = opts[:passwd]
|
|
124 |
@db_name = opts[:db_name]
|
|
125 | 125 | |
126 | 126 |
# Check for errors: |
127 | 127 |
error = false |