parent
0a8818d39c
commit
97484744a7
2
index.js
2
index.js
|
@ -40,7 +40,7 @@ class Mysqli {
|
||||||
let name = i < 1 ? 'MASTER' : 'SLAVE' + i
|
let name = i < 1 ? 'MASTER' : 'SLAVE' + i
|
||||||
let collate
|
let collate
|
||||||
|
|
||||||
charset = charset || 'utf8'
|
charset = charset || 'utf8mb4'
|
||||||
collate =
|
collate =
|
||||||
charset + (charset === 'utf8mb4' ? '_unicode_ci' : '_general_ci')
|
charset + (charset === 'utf8mb4' ? '_unicode_ci' : '_general_ci')
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "mysqli",
|
"name": "mysqli",
|
||||||
"version": "3.0.5",
|
"version": "3.0.6",
|
||||||
"description": "MySQL tool",
|
"description": "MySQL tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"es.shim": "^1.0.1",
|
"es.shim": "^1.1.2",
|
||||||
"mysql": "^2.13.0"
|
"mysql": "^2.13.0"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/yutent/mysqli.git",
|
"repository": "https://github.com/yutent/mysqli.git",
|
||||||
|
|
Loading…
Reference in New Issue