Barge OS | RancherOS | Boot2Docker | |
---|---|---|---|
Release | 2019/06/11 | 2019/08/22 | 2019/11/14 |
Version | 2.13.0 | 1.5.4 | 19.03.5 |
Size | 14 MB | 130 MB | 57 MB |
Kernel | 4.14.125 | 4.14.138 | 4.14.154 |
User Land | Buildroot(glibc) + BusyBox v1.30.1 | Buildroot(glibc) + BusyBox v1.27.2 | Tiny Core Linux v10.1(glibc) + BusyBox v1.29.3 |
Docker | 1.10.3 (*1) | 18.09.8 (*1) | 19.03.5 |
Storage Driver | overlay / overlay2 (*2) | overlay2 (*3) | overlay2 (*3) |
TLS | (*4) | ✓ | ✓ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func Escape(sql string) string { | |
dest := make([]byte, 0, 2*len(sql)) | |
var escape byte | |
for i := 0; i < len(sql); i++ { | |
c := sql[i] | |
escape = 0 | |
switch c { | |
case 0: /* Must be escaped for 'mysql' */ |