diff options
author | EuAndreh <eu@euandre.org> | 2024-10-07 16:40:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-07 16:41:25 -0300 |
commit | c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570 (patch) | |
tree | 9b1a6aa2cd911848ed15cc9841cb99855af88d09 /tests/functional/limit.go | |
parent | Makefile: Improve spacing (diff) | |
download | golite-c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570.tar.gz golite-c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570.tar.xz |
Rename golite -> acudego
Diffstat (limited to 'tests/functional/limit.go')
-rw-r--r-- | tests/functional/limit.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/limit.go b/tests/functional/limit.go index 8c65a25..ab726f6 100644 --- a/tests/functional/limit.go +++ b/tests/functional/limit.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "golite" + "acudego" ) func createBulkInsertQuery(n int, start int) (string, []any) { @@ -49,9 +49,9 @@ func main() { delete from mylimittable; ` - var conn *golite.SQLiteConn - sql.Register("sqlite3_with_limit", &golite.SQLiteDriver{ - ConnectHook: func(c *golite.SQLiteConn) error { + var conn *acudego.SQLiteConn + sql.Register("sqlite3_with_limit", &acudego.SQLiteDriver{ + ConnectHook: func(c *acudego.SQLiteConn) error { conn = c return nil }, @@ -82,7 +82,7 @@ func main() { } } - conn.SetLimit(golite.SQLITE_LIMIT_VARIABLE_NUMBER, smallLimit) + conn.SetLimit(acudego.SQLITE_LIMIT_VARIABLE_NUMBER, smallLimit) { query, args := createBulkInsertQuery(num, num) err := bulkInsert(db, query, args) @@ -91,7 +91,7 @@ func main() { } } - conn.SetLimit(golite.SQLITE_LIMIT_VARIABLE_NUMBER, bigLimit) + conn.SetLimit(acudego.SQLITE_LIMIT_VARIABLE_NUMBER, bigLimit) { query, args := createBulkInsertQuery(500, num+num) err := bulkInsert(db, query, args) |