fix video blob
This commit is contained in:
@@ -6,6 +6,8 @@ module.exports = function() {
|
||||
var pool = mysql.createPool(config);
|
||||
|
||||
pool.query(fs.readFileSync(__dirname+'/schema.sql').toString());
|
||||
if (config.max_allowed_packet)
|
||||
pool.query("set global max_allowed_packet=?", [config.max_allowed_packet]);
|
||||
|
||||
return pool;
|
||||
};
|
||||
|
Reference in New Issue
Block a user