forked from mirror/go-sqlite3
こんにちわ is wrong Japanse. The correct word is こんにちは
This commit is contained in:
parent
da62659c58
commit
7476442ed6
|
@ -17,7 +17,7 @@ func createBulkInsertQuery(n int, start int) (query string, args []interface{})
|
||||||
for i := 0; i < n; i++ {
|
for i := 0; i < n; i++ {
|
||||||
values[i] = "(?, ?)"
|
values[i] = "(?, ?)"
|
||||||
args[pos] = start + i
|
args[pos] = start + i
|
||||||
args[pos+1] = fmt.Sprintf("こんにちわ世界%03d", i)
|
args[pos+1] = fmt.Sprintf("こんにちは世界%03d", i)
|
||||||
pos += 2
|
pos += 2
|
||||||
}
|
}
|
||||||
query = fmt.Sprintf(
|
query = fmt.Sprintf(
|
||||||
|
|
|
@ -33,7 +33,7 @@ RUN \
|
||||||
RUN \
|
RUN \
|
||||||
# Smoke test
|
# Smoke test
|
||||||
set -o pipefail; \
|
set -o pipefail; \
|
||||||
/go/bin/simple | grep 99\ こんにちわ世界099
|
/go/bin/simple | grep 99\ こんにちは世界099
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Main Stage
|
# Main Stage
|
||||||
|
|
|
@ -37,7 +37,7 @@ func main() {
|
||||||
}
|
}
|
||||||
defer stmt.Close()
|
defer stmt.Close()
|
||||||
for i := 0; i < 100; i++ {
|
for i := 0; i < 100; i++ {
|
||||||
_, err = stmt.Exec(i, fmt.Sprintf("こんにちわ世界%03d", i))
|
_, err = stmt.Exec(i, fmt.Sprintf("こんにちは世界%03d", i))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue